home *** CD-ROM | disk | FTP | other *** search
/ Resource Library: Multimedia / Resource Library: Multimedia.iso / hypercrd / xcmds / bngdbbxt.hqx / BungDabba XThangs / cards.xml < prev    next >
Text File  |  1992-08-30  |  87KB  |  2,126 lines

  1. card_7841.xml
  2. <?xml version="1.0" encoding="utf-8" ?>
  3. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  4. <card>
  5.     <id>7841</id>
  6.     <filler1>0</filler1>
  7.     <cantDelete> <false /> </cantDelete>
  8.     <showPict> <true /> </showPict>
  9.     <dontSearch> <false /> </dontSearch>
  10.     <owner>4723</owner>
  11.     <link rel="stylesheet" type="text/css" href="stylesheet_3308.css" />
  12.     <part>
  13.         <id>1</id>
  14.         <type>button</type>
  15.         <visible> <true /> </visible>
  16.         <reserved5> 0 </reserved5>
  17.         <reserved4> 0 </reserved4>
  18.         <reserved3> 0 </reserved3>
  19.         <reserved2> 0 </reserved2>
  20.         <reserved1> 0 </reserved1>
  21.         <enabled> <true /> </enabled>
  22.         <rect>
  23.             <left>491</left>
  24.             <top>65</top>
  25.             <right>512</right>
  26.             <bottom>91</bottom>
  27.         </rect>
  28.         <style>transparent</style>
  29.         <showName> <false /> </showName>
  30.         <highlight> <false /> </highlight>
  31.         <autoHighlight> <true /> </autoHighlight>
  32.         <sharedHighlight> <true /> </sharedHighlight>
  33.         <family>0</family>
  34.         <titleWidth>0</titleWidth>
  35.         <icon>8350</icon>
  36.         <textAlign>center</textAlign>
  37.         <font>Chicago</font>
  38.         <textSize>12</textSize>
  39.         <textStyle>plain</textStyle>
  40.         <name>Next</name>
  41.         <script>on mouseUpvisual scroll leftgo cd 2end mouseUp</script>
  42.     </part>
  43.     <part>
  44.         <id>2</id>
  45.         <type>button</type>
  46.         <visible> <true /> </visible>
  47.         <reserved5> 0 </reserved5>
  48.         <reserved4> 0 </reserved4>
  49.         <reserved3> 0 </reserved3>
  50.         <reserved2> 0 </reserved2>
  51.         <reserved1> 0 </reserved1>
  52.         <enabled> <true /> </enabled>
  53.         <rect>
  54.             <left>36</left>
  55.             <top>310</top>
  56.             <right>136</right>
  57.             <bottom>332</bottom>
  58.         </rect>
  59.         <style>roundrect</style>
  60.         <showName> <true /> </showName>
  61.         <highlight> <false /> </highlight>
  62.         <autoHighlight> <true /> </autoHighlight>
  63.         <sharedHighlight> <true /> </sharedHighlight>
  64.         <family>0</family>
  65.         <titleWidth>0</titleWidth>
  66.         <icon>0</icon>
  67.         <textAlign>center</textAlign>
  68.         <font>Chicago</font>
  69.         <textSize>12</textSize>
  70.         <textStyle>plain</textStyle>
  71.         <name>Try Me</name>
  72.         <script>on mouseUpglobal gXCMDErrorsysDebuggerBreak "hit 'g' and return to exit MacsBug"if gXCMDError is not empty then answer gXCMDErrorend mouseUp</script>
  73.     </part>
  74.     <content>
  75.         <layer>background</layer>
  76.         <id>3</id>
  77.         <text><span class="style3">ysDebuggerBreak</span><span class="style1"> </span><span class="style2">[<message>]</span></text>
  78.     </content>
  79.     <content>
  80.         <layer>background</layer>
  81.         <id>4</id>
  82.         <text><span class="style3">bout</span><span class="style1">    This XCMD causes a debugger break, though not to the HyperTalk debugger, but to the system debugger (if one is installed).       This is designed for people who want to mess with MacsBug from a HyperTalk script.  This can be nice for writing XCMDs and such without putting breaks in the XCMD code.</span><span class="style3">Parameters</span><span class="style1">     The one parameter is optional, and is the message with which the debugger will respond. </span><span class="style3">Error Messages</span><span class="style1"></span><span class="style4">Error: Debugger not installed</span><span class="style7"></span><span class="style1">     This is what you'll get if you try this XCMD without something like MacsBug installed.</span><span class="style3">Notes</span><span class="style1">     This has really only been tested with MacsBug, but it </span><span class="style9">should</span><span class="style1"> work with debuggers like TMON as well.  That's the theory, anyway.</span></text>
  83.     </content>
  84.     <content>
  85.         <layer>background</layer>
  86.         <id>8</id>
  87.         <text>0,40,40,40</text>
  88.     </content>
  89.     <name>sysDebuggerBreak</name>
  90.     <script></script>
  91. </card>
  92.  
  93.  
  94. card_7582.xml
  95. <?xml version="1.0" encoding="utf-8" ?>
  96. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  97. <card>
  98.     <id>7582</id>
  99.     <filler1>0</filler1>
  100.     <cantDelete> <false /> </cantDelete>
  101.     <showPict> <true /> </showPict>
  102.     <dontSearch> <false /> </dontSearch>
  103.     <owner>4723</owner>
  104.     <link rel="stylesheet" type="text/css" href="stylesheet_3308.css" />
  105.     <part>
  106.         <id>1</id>
  107.         <type>button</type>
  108.         <visible> <true /> </visible>
  109.         <reserved5> 0 </reserved5>
  110.         <reserved4> 0 </reserved4>
  111.         <reserved3> 0 </reserved3>
  112.         <reserved2> 0 </reserved2>
  113.         <reserved1> 0 </reserved1>
  114.         <enabled> <true /> </enabled>
  115.         <rect>
  116.             <left>36</left>
  117.             <top>310</top>
  118.             <right>136</right>
  119.             <bottom>332</bottom>
  120.         </rect>
  121.         <style>roundrect</style>
  122.         <showName> <true /> </showName>
  123.         <highlight> <false /> </highlight>
  124.         <autoHighlight> <true /> </autoHighlight>
  125.         <sharedHighlight> <true /> </sharedHighlight>
  126.         <family>0</family>
  127.         <titleWidth>0</titleWidth>
  128.         <icon>0</icon>
  129.         <textAlign>center</textAlign>
  130.         <font>Chicago</font>
  131.         <textSize>12</textSize>
  132.         <textStyle>plain</textStyle>
  133.         <name>Try Me</name>
  134.         <script>on mouseUpglobal gXCMDErrorput selectedPrinter() into ThePrinterif gXCMDError is not empty then exit mouseUpif the number of items in ThePrinter = 2 thenanswer "Your system will attempt to print to the" && item 1 of ThePrinter┬¼&& "named ΓÇ£" & item 2 of ThePrinter & "ΓÇ¥."  --Γêåelseanswer "Your system will attempt to print to the device ΓÇ£" ┬¼& item 1 of ThePrinter & "ΓÇ¥."  --Γêåend ifend mouseUp</script>
  135.     </part>
  136.     <content>
  137.         <layer>background</layer>
  138.         <id>3</id>
  139.         <text><span class="style3">electedPrinter</span><span class="style1">()</span></text>
  140.     </content>
  141.     <content>
  142.         <layer>background</layer>
  143.         <id>8</id>
  144.         <text>0,140,140,140</text>
  145.     </content>
  146.     <content>
  147.         <layer>background</layer>
  148.         <id>4</id>
  149.         <text><span class="style3">bout</span><span class="style1">     This XFCN returns the type of printer that is currently selected, and, if possible, the name of that printer.  Item 1 of the result will contain the type of printer selected and, if available, item 2 will contain the name of the printer.     So, for example, if the currently selected printer is a LaserWriter named "Peach", then this XFCN would return "LaserWriter,Peach".       If no printer is selected, the XFCN will return "No printer selected."</span><span class="style3">Parameters</span><span class="style1">     No parameters are passed to this XFCN.</span><span class="style3">Error Messages</span><span class="style1"></span><span class="style4">Error: Could not get the 'STR ' resource from the System</span><span class="style1">     For some unknown reason, the System file could not be properly accessed.  This is possible in extreme low memory conditions and if the System file is corrupt.</span><span class="style3">Notes</span><span class="style1">     This XFCN does not go out onto the network in any way.  What it does is check a resource in the System file for the type of printer that is selected, and then attempts to open the printer driver for the name of the printer.  Thus, this XFCN tells nothing about whether or not it will be possible to print to the selected printer, only what printer the operating system will try to print to.</span></text>
  150.     </content>
  151.     <name>selectedPrinter()</name>
  152.     <script></script>
  153. </card>
  154.  
  155.  
  156. card_7211.xml
  157. <?xml version="1.0" encoding="utf-8" ?>
  158. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  159. <card>
  160.     <id>7211</id>
  161.     <filler1>0</filler1>
  162.     <cantDelete> <false /> </cantDelete>
  163.     <showPict> <true /> </showPict>
  164.     <dontSearch> <false /> </dontSearch>
  165.     <owner>4723</owner>
  166.     <link rel="stylesheet" type="text/css" href="stylesheet_3308.css" />
  167.     <content>
  168.         <layer>background</layer>
  169.         <id>3</id>
  170.         <text><span class="style3">ameCardPicts</span><span class="style1">(</span><span class="style2"><card A>,<card B></span><span class="style1">)</span></text>
  171.     </content>
  172.     <content>
  173.         <layer>background</layer>
  174.         <id>8</id>
  175.         <text>0,65,82,82</text>
  176.     </content>
  177.     <content>
  178.         <layer>background</layer>
  179.         <id>4</id>
  180.         <text><span class="style3">bout</span><span class="style1">     This XFCN compares every pixel of one card picture to every pixel of another card picture.  If they are the same, it returns true, otherwise it returns false.  </span><span class="style3">Parameters</span><span class="style1">     Both the first and second parameters should be strings that specify valid cards.  Remember that strings must be quoted, so to check card "foo1" against card "foo2" you'd call it as</span><span class="style4">sameCardPicts("card" && quote & "foo1" & quote, "card" && quote & "foo2" & quote)</span><span class="style3">Error Messages</span><span class="style1"></span><span class="style4">Error: Not enough memory</span><span class="style1">    This XFCN has to make a copy of the cardA bitmap, and needs to allocate however much memory that will take.  (About 22K in the case of a 512x342 card).   If this gives you trouble, increase your partition</span><span class="style3">Notes</span><span class="style1">     This compares just the card picture.  If the backgrounds are different, this will not know.  Nor will it notice if the buttons or fields are different.</span></text>
  181.     </content>
  182.     <name>sameCardPicts()</name>
  183.     <script></script>
  184. </card>
  185.  
  186.  
  187. card_6938.xml
  188. <?xml version="1.0" encoding="utf-8" ?>
  189. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  190. <card>
  191.     <id>6938</id>
  192.     <filler1>0</filler1>
  193.     <cantDelete> <false /> </cantDelete>
  194.     <showPict> <true /> </showPict>
  195.     <dontSearch> <false /> </dontSearch>
  196.     <owner>4723</owner>
  197.     <link rel="stylesheet" type="text/css" href="stylesheet_3308.css" />
  198.     <part>
  199.         <id>1</id>
  200.         <type>button</type>
  201.         <visible> <true /> </visible>
  202.         <reserved5> 0 </reserved5>
  203.         <reserved4> 0 </reserved4>
  204.         <reserved3> 0 </reserved3>
  205.         <reserved2> 0 </reserved2>
  206.         <reserved1> 0 </reserved1>
  207.         <enabled> <true /> </enabled>
  208.         <rect>
  209.             <left>36</left>
  210.             <top>310</top>
  211.             <right>136</right>
  212.             <bottom>332</bottom>
  213.         </rect>
  214.         <style>roundrect</style>
  215.         <showName> <true /> </showName>
  216.         <highlight> <false /> </highlight>
  217.         <autoHighlight> <true /> </autoHighlight>
  218.         <sharedHighlight> <true /> </sharedHighlight>
  219.         <family>0</family>
  220.         <titleWidth>0</titleWidth>
  221.         <icon>0</icon>
  222.         <textAlign>center</textAlign>
  223.         <font>Chicago</font>
  224.         <textSize>12</textSize>
  225.         <textStyle>plain</textStyle>
  226.         <name>Try Me</name>
  227.         <script>on mouseUpput empty into cd fld 2putWithStyle "cd fld 1", "cd fld 2"end mouseUp</script>
  228.     </part>
  229.     <part>
  230.         <id>2</id>
  231.         <type>field</type>
  232.         <visible> <true /> </visible>
  233.         <dontWrap> <false /> </dontWrap>
  234.         <dontSearch> <false /> </dontSearch>
  235.         <sharedText> <false /> </sharedText>
  236.         <fixedLineHeight> <false /> </fixedLineHeight>
  237.         <autoTab> <false /> </autoTab>
  238.         <lockText> <true /> </lockText>
  239.         <rect>
  240.             <left>4</left>
  241.             <top>103</top>
  242.             <right>169</right>
  243.             <bottom>186</bottom>
  244.         </rect>
  245.         <style>rectangle</style>
  246.         <autoSelect> <false /> </autoSelect>
  247.         <showLines> <false /> </showLines>
  248.         <wideMargins> <false /> </wideMargins>
  249.         <multipleLines> <false /> </multipleLines>
  250.         <reservedFamily> 0 </reservedFamily>
  251.         <titleWidth>0</titleWidth>
  252.         <icon>0</icon>
  253.         <textAlign>left</textAlign>
  254.         <font>Geneva</font>
  255.         <textSize>12</textSize>
  256.         <textStyle>plain</textStyle>
  257.         <textHeight>16</textHeight>
  258.         <name></name>
  259.         <script></script>
  260.     </part>
  261.     <part>
  262.         <id>4</id>
  263.         <type>field</type>
  264.         <visible> <true /> </visible>
  265.         <dontWrap> <false /> </dontWrap>
  266.         <dontSearch> <false /> </dontSearch>
  267.         <sharedText> <false /> </sharedText>
  268.         <fixedLineHeight> <false /> </fixedLineHeight>
  269.         <autoTab> <false /> </autoTab>
  270.         <lockText> <true /> </lockText>
  271.         <rect>
  272.             <left>4</left>
  273.             <top>201</top>
  274.             <right>169</right>
  275.             <bottom>284</bottom>
  276.         </rect>
  277.         <style>rectangle</style>
  278.         <autoSelect> <false /> </autoSelect>
  279.         <showLines> <false /> </showLines>
  280.         <wideMargins> <false /> </wideMargins>
  281.         <multipleLines> <false /> </multipleLines>
  282.         <reservedFamily> 0 </reservedFamily>
  283.         <titleWidth>0</titleWidth>
  284.         <icon>0</icon>
  285.         <textAlign>left</textAlign>
  286.         <font>Geneva</font>
  287.         <textSize>12</textSize>
  288.         <textStyle>plain</textStyle>
  289.         <textHeight>16</textHeight>
  290.         <name></name>
  291.         <script></script>
  292.     </part>
  293.     <content>
  294.         <layer>background</layer>
  295.         <id>3</id>
  296.         <text><span class="style3">utWithStyle</span><span class="style1"> </span><span class="style2"><fromField>,<toField>,[<onCard>]</span></text>
  297.     </content>
  298.     <content>
  299.         <layer>card</layer>
  300.         <id>2</id>
  301.         <text><span class="style1">ere is </span><span class="style9">an example </span><span class="style10">of some </span><span class="style11">hip and funky styled text</span><span class="style12">.  All kinds of </span><span class="style13">weird and </span><span class="style14">wacky </span><span class="style12">stuff.  </span><span class="style15">H'okay?</span></text>
  302.     </content>
  303.     <content>
  304.         <layer>background</layer>
  305.         <id>8</id>
  306.         <text>0,117,255,255</text>
  307.     </content>
  308.     <content>
  309.         <layer>background</layer>
  310.         <id>4</id>
  311.         <text><span class="style3">bout</span><span class="style1">     This XCMD will copy the contents of one field into another field, will all style information.  This is like "put" in HyperTalk in that it will destroy whatever was in the destination field.     The XCMD will go from one card to another if requested.  That is, you can copy text from card field 1 on card "red" and put it into background field 3 on card "orange".</span><span class="style3">Parameters</span><span class="style1">     The first parameter specifies the field to copy the text from, and the second specifies the field to which to copy the text.  Any identifier that HyperTalk accepts should be acceptable to the XCMD.  Remember, you have to quote a string to pass it to an XCMD.  Thus, to use a field name, you'll have to pass it something like </span><span class="style4">"card field" && quote & "<fieldName>" & quote</span><span class="style1">.     The third parameter is optional, and specifies the card on which the destination field resides.  If this parameter is omitted, the XCMD assumes that the destination field is on the current card.</span><span class="style3">Error Messages</span><span class="style1"></span><span class="style4">Error: Invalid fromField specification</span><span class="style7"></span><span class="style1">     This means that whatever was passed in as the first argument is not a valid description of an actual field.</span><span class="style7"></span><span class="style4">Error: Invalid toField specification</span><span class="style7"></span><span class="style1">     Same as above, except that this applies to the second argument.</span><span class="style3">Notes</span><span class="style1">     The most important thing to note is that if a third parameter is supplied, the XCMD will cause the HyperCard to go to that card.  If you don't want this to be visible, you should lock the screen, push the current card, call the XCMD, pop the stack, and unlock the screen.</span></text>
  312.     </content>
  313.     <name>putWithStyle</name>
  314.     <script>on closeCardput empty into cd fld 2end closeCard</script>
  315. </card>
  316.  
  317.  
  318. card_6678.xml
  319. <?xml version="1.0" encoding="utf-8" ?>
  320. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  321. <card>
  322.     <id>6678</id>
  323.     <filler1>0</filler1>
  324.     <cantDelete> <false /> </cantDelete>
  325.     <showPict> <true /> </showPict>
  326.     <dontSearch> <false /> </dontSearch>
  327.     <owner>4723</owner>
  328.     <link rel="stylesheet" type="text/css" href="stylesheet_3308.css" />
  329.     <content>
  330.         <layer>background</layer>
  331.         <id>3</id>
  332.         <text><span class="style3">ICTtoRsrc</span><span class="style1"> </span><span class="style2"><PICTfile>,[<rsrc name>],              [<target stack>]</span></text>
  333.     </content>
  334.     <content>
  335.         <layer>background</layer>
  336.         <id>8</id>
  337.         <text>0,91,234,668</text>
  338.     </content>
  339.     <content>
  340.         <layer>background</layer>
  341.         <id>4</id>
  342.         <text><span class="style3">bout</span><span class="style1">     This XCMD takes a path name to a PICT file and copies that file into a PICT resource, either in the current stack or in another stack.  The resource can be renamed as well.      This XCMD is useful for working with BungDabba's "ColorizeHC" XCMD.</span><span class="style3">Parameters</span><span class="style1">     The first parameter should be the full pathname to a PICT file.     The second parameter is optional, and is the name for the PICT resource once it has been imported.  If this parameter is not supplied, the name of the file is used.     The third parameter is also optional.  If omitted, the PICT resource will be added to the current stack.  If a full pathname to another stack is supplied, the PICT resource will be written to that file.</span><span class="style3">Error Messages</span><span class="style1">     Mucking around with HFS means there is a plethora of possible errors:</span><span class="style4">Error: The input file is not a PICT file</span><span class="style1">     The full pathname supplied does not point to a PICT file.  Check the first parameter.</span><span class="style4">Error: Duplicate resource not overwritten</span><span class="style1">     If there is a PICT resource in the target stack that has the same name and the user does not want it over-written, this error is returned.</span><span class="style6"></span><span class="style4">Error: Not enough memory</span><span class="style1">     This is what you'll get if you aim the XCMD at a PICT that is too large to read all at once.  Try upping your HyperCard partition, or using a smaller PICT.</span><span class="style4">Error: Bad file nameError: File not foundError: No such volume</span><span class="style1">     These errors likely means the pathname passed in either the first or third parameter is not an actual pathname.  Check your input.</span><span class="style4">Error: I/O error</span><span class="style1">     This means there was some error in the device or driver.</span><span class="style4">Error: Too many files open</span><span class="style1">     This is probably caused by a low-memory situation.</span><span class="style4">Error: Software volume lockError: Hardware volume lockError: Disk full</span><span class="style1">      All of these mean more or less what they sayΓÇösomething prevented writing to the target stack.</span><span class="style4">Error: OS error <###></span><span class="style1">     Some other error I haven't forseen.  You'll have to dig up a table.</span><span class="style3">Notes</span><span class="style1">     It is possible to attempt to add a PICT to a stack that has a PICT with the same name.  In this case, a dialog will appear, asking if it is okay to delete the current PICT.     HyperCard 2.1 introduced a new property, the </span><span class="style4">lockErrorDialogs</span><span class="style1"> (see the HC 2.1 "New Features Guide" for a complete description).  The upshot of this is that it prevents dialogs when errors occur.  If the lockErrorDialogs is true, the confirmation dialog will not be presented, and the XCMD will write over the old resource.     The ID number for the resource is picked by the XCMD.</span></text>
  343.     </content>
  344.     <name>PICTtoRsrc</name>
  345.     <script></script>
  346. </card>
  347.  
  348.  
  349. card_6600.xml
  350. <?xml version="1.0" encoding="utf-8" ?>
  351. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  352. <card>
  353.     <id>6600</id>
  354.     <filler1>0</filler1>
  355.     <bitmap>BMAP_8281.pbm</bitmap>
  356.     <cantDelete> <false /> </cantDelete>
  357.     <showPict> <true /> </showPict>
  358.     <dontSearch> <false /> </dontSearch>
  359.     <owner>4723</owner>
  360.     <link rel="stylesheet" type="text/css" href="stylesheet_3308.css" />
  361.     <part>
  362.         <id>1</id>
  363.         <type>button</type>
  364.         <visible> <true /> </visible>
  365.         <reserved5> 0 </reserved5>
  366.         <reserved4> 0 </reserved4>
  367.         <reserved3> 0 </reserved3>
  368.         <reserved2> 0 </reserved2>
  369.         <reserved1> 0 </reserved1>
  370.         <enabled> <true /> </enabled>
  371.         <rect>
  372.             <left>13</left>
  373.             <top>119</top>
  374.             <right>53</right>
  375.             <bottom>155</bottom>
  376.         </rect>
  377.         <style>transparent</style>
  378.         <showName> <false /> </showName>
  379.         <highlight> <false /> </highlight>
  380.         <autoHighlight> <false /> </autoHighlight>
  381.         <sharedHighlight> <true /> </sharedHighlight>
  382.         <family>0</family>
  383.         <titleWidth>0</titleWidth>
  384.         <icon>0</icon>
  385.         <textAlign>center</textAlign>
  386.         <font>Chicago</font>
  387.         <textSize>12</textSize>
  388.         <textStyle>plain</textStyle>
  389.         <name></name>
  390.         <script>on mouseUpif hitRegion(the mouseLoc,the rect of me,t,t) thenput "hit"elseput "miss"end ifend mouseUp</script>
  391.     </part>
  392.     <part>
  393.         <id>2</id>
  394.         <type>button</type>
  395.         <visible> <true /> </visible>
  396.         <reserved5> 0 </reserved5>
  397.         <reserved4> 0 </reserved4>
  398.         <reserved3> 0 </reserved3>
  399.         <reserved2> 0 </reserved2>
  400.         <reserved1> 0 </reserved1>
  401.         <enabled> <true /> </enabled>
  402.         <rect>
  403.             <left>68</left>
  404.             <top>158</top>
  405.             <right>145</right>
  406.             <bottom>218</bottom>
  407.         </rect>
  408.         <style>transparent</style>
  409.         <showName> <false /> </showName>
  410.         <highlight> <false /> </highlight>
  411.         <autoHighlight> <false /> </autoHighlight>
  412.         <sharedHighlight> <true /> </sharedHighlight>
  413.         <family>0</family>
  414.         <titleWidth>0</titleWidth>
  415.         <icon>0</icon>
  416.         <textAlign>center</textAlign>
  417.         <font>Chicago</font>
  418.         <textSize>12</textSize>
  419.         <textStyle>plain</textStyle>
  420.         <name></name>
  421.         <script>on mouseUpif hitRegion(the mouseLoc,the rect of me,f,t) thenput "hit"elseput "miss"end ifend mouseUp</script>
  422.     </part>
  423.     <part>
  424.         <id>3</id>
  425.         <type>button</type>
  426.         <visible> <true /> </visible>
  427.         <reserved5> 0 </reserved5>
  428.         <reserved4> 0 </reserved4>
  429.         <reserved3> 0 </reserved3>
  430.         <reserved2> 0 </reserved2>
  431.         <reserved1> 0 </reserved1>
  432.         <enabled> <true /> </enabled>
  433.         <rect>
  434.             <left>11</left>
  435.             <top>234</top>
  436.             <right>64</right>
  437.             <bottom>285</bottom>
  438.         </rect>
  439.         <style>transparent</style>
  440.         <showName> <false /> </showName>
  441.         <highlight> <false /> </highlight>
  442.         <autoHighlight> <false /> </autoHighlight>
  443.         <sharedHighlight> <true /> </sharedHighlight>
  444.         <family>0</family>
  445.         <titleWidth>0</titleWidth>
  446.         <icon>0</icon>
  447.         <textAlign>center</textAlign>
  448.         <font>Chicago</font>
  449.         <textSize>12</textSize>
  450.         <textStyle>plain</textStyle>
  451.         <name></name>
  452.         <script>on mouseUpif hitRegion(the mouseLoc,the rect of me,t,t) thenput "hit"elseput "miss"end ifend mouseUp</script>
  453.     </part>
  454.     <part>
  455.         <id>4</id>
  456.         <type>button</type>
  457.         <visible> <true /> </visible>
  458.         <reserved5> 0 </reserved5>
  459.         <reserved4> 0 </reserved4>
  460.         <reserved3> 0 </reserved3>
  461.         <reserved2> 0 </reserved2>
  462.         <reserved1> 0 </reserved1>
  463.         <enabled> <true /> </enabled>
  464.         <rect>
  465.             <left>84</left>
  466.             <top>253</top>
  467.             <right>153</right>
  468.             <bottom>305</bottom>
  469.         </rect>
  470.         <style>transparent</style>
  471.         <showName> <false /> </showName>
  472.         <highlight> <false /> </highlight>
  473.         <autoHighlight> <false /> </autoHighlight>
  474.         <sharedHighlight> <true /> </sharedHighlight>
  475.         <family>0</family>
  476.         <titleWidth>0</titleWidth>
  477.         <icon>0</icon>
  478.         <textAlign>center</textAlign>
  479.         <font>Chicago</font>
  480.         <textSize>12</textSize>
  481.         <textStyle>plain</textStyle>
  482.         <name></name>
  483.         <script>on mouseUpif hitRegion(the mouseLoc,the rect of me) thenput "hit"elseput "miss"end ifend mouseUp</script>
  484.     </part>
  485.     <part>
  486.         <id>5</id>
  487.         <type>field</type>
  488.         <visible> <true /> </visible>
  489.         <dontWrap> <false /> </dontWrap>
  490.         <dontSearch> <false /> </dontSearch>
  491.         <sharedText> <false /> </sharedText>
  492.         <fixedLineHeight> <false /> </fixedLineHeight>
  493.         <autoTab> <false /> </autoTab>
  494.         <lockText> <true /> </lockText>
  495.         <rect>
  496.             <left>6</left>
  497.             <top>327</top>
  498.             <right>164</right>
  499.             <bottom>342</bottom>
  500.         </rect>
  501.         <style>transparent</style>
  502.         <autoSelect> <false /> </autoSelect>
  503.         <showLines> <false /> </showLines>
  504.         <wideMargins> <false /> </wideMargins>
  505.         <multipleLines> <false /> </multipleLines>
  506.         <reservedFamily> 0 </reservedFamily>
  507.         <titleWidth>0</titleWidth>
  508.         <icon>0</icon>
  509.         <textAlign>left</textAlign>
  510.         <font>Geneva</font>
  511.         <textSize>9</textSize>
  512.         <textStyle>plain</textStyle>
  513.         <textHeight>12</textHeight>
  514.         <name></name>
  515.         <script></script>
  516.     </part>
  517.     <content>
  518.         <layer>background</layer>
  519.         <id>3</id>
  520.         <text><span class="style3">itRegion</span><span class="style1">(</span><span class="style2"><clickpoint>,<rect>,[┬½autohilite┬╗],             [┬½sense inside┬╗]</span><span class="style1">)</span></text>
  521.     </content>
  522.     <content>
  523.         <layer>card</layer>
  524.         <id>5</id>
  525.         <text>click around above to see it work</text>
  526.     </content>
  527.     <content>
  528.         <layer>background</layer>
  529.         <id>8</id>
  530.         <text>0,143,247,337</text>
  531.     </content>
  532.     <content>
  533.         <layer>background</layer>
  534.         <id>4</id>
  535.         <text><span class="style3">bout</span><span class="style1">     This XFCN provides a simple way to implement buttons of irregular shape.  It takes a point and a rect and checks to see if the point hits a region inside the rect.  This amounts to checking to see if a black pixel was hit.     In addition, the XFCN can be told to check for hits </span><span class="style3">inside</span><span class="style1"> any area enclosed by black pixels.  So, for example, it can sense hits inside the circle to the left.  The XFCN can also briefly flash the graphic to simulate autohiliting of normal buttons.</span><span class="style3">Parameters</span><span class="style1">     The first parameter should be a point, and the second a rect.  The third parameter is optional and defaults to true.  If it is true, the XFCN will briefly invert the region.  The fourth parameter is also optional, and defaults to false.  If it is true, the XFCN will sense hits that are inside the graphic.  If false, it does not.</span><span class="style3">Error Messages</span><span class="style1"></span><span class="style4">Error: Could not allocate the first buffer</span><span class="style1">     The XFCN has to allocate a buffer to copy the rect into.  If this error message is given, try using a smaller rect.</span><span class="style4">Error: Could not create the first region</span><span class="style1">     The XFCN was unable to make a region from the buffer.  Again, this is probably due to low memory.</span><span class="style4">Error: Could not allocate the second buffer</span><span class="style1">    If "sense inside" is true, the XFCN has to allocate a second buffer (for a SeedFill for you techies), which requires more memory.  Try a larger partition or a smaller rect.</span><span class="style4">Error: Could not create the second region</span><span class="style1">    Again, the second region is for "sense inside" hits, and is probably a memory problem.</span><span class="style3">Notes</span><span class="style1">     Note that this XFCN takes a point, not necessarily a mouse click.  That may be useful to someone out there.     This can be a memory hog if the rect passed is large and "sense inside" is true. (For a whole 512x342 card, for example, it will need about 44K.)  But for small rects, this is really quite reasonable.</span></text>
  536.     </content>
  537.     <name>hitRegion()</name>
  538.     <script></script>
  539. </card>
  540.  
  541.  
  542. card_6398.xml
  543. <?xml version="1.0" encoding="utf-8" ?>
  544. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  545. <card>
  546.     <id>6398</id>
  547.     <filler1>0</filler1>
  548.     <cantDelete> <false /> </cantDelete>
  549.     <showPict> <true /> </showPict>
  550.     <dontSearch> <false /> </dontSearch>
  551.     <owner>4723</owner>
  552.     <link rel="stylesheet" type="text/css" href="stylesheet_3308.css" />
  553.     <part>
  554.         <id>1</id>
  555.         <type>button</type>
  556.         <visible> <true /> </visible>
  557.         <reserved5> 0 </reserved5>
  558.         <reserved4> 0 </reserved4>
  559.         <reserved3> 0 </reserved3>
  560.         <reserved2> 0 </reserved2>
  561.         <reserved1> 0 </reserved1>
  562.         <enabled> <true /> </enabled>
  563.         <rect>
  564.             <left>36</left>
  565.             <top>310</top>
  566.             <right>136</right>
  567.             <bottom>332</bottom>
  568.         </rect>
  569.         <style>roundrect</style>
  570.         <showName> <true /> </showName>
  571.         <highlight> <false /> </highlight>
  572.         <autoHighlight> <true /> </autoHighlight>
  573.         <sharedHighlight> <true /> </sharedHighlight>
  574.         <family>0</family>
  575.         <titleWidth>0</titleWidth>
  576.         <icon>0</icon>
  577.         <textAlign>center</textAlign>
  578.         <font>Chicago</font>
  579.         <textSize>12</textSize>
  580.         <textStyle>plain</textStyle>
  581.         <name>Try Me</name>
  582.         <script>on mouseUpglobal gXCMDErrorput empty into cd fld 1put systemPath() into PathNameput "ΓÇó You have the following control panels installed:" ┬¼& return into cd fld 1put findTypes(PathName,f,t,f,"cdev") into ThePanelsif gXCMDError is not empty thenanswer gXCMDErrorend ifrepeat with LineCnt = 1 to the number of lines in ThePanelsput lastItem(":",line LineCnt of ThePanels) into ┬¼line LineCnt of ThePanelsend repeatif the number of lines in ThePanels > 16 thenset the style of cd fld 1 to "Scrolling"end ifput ThePanels after cd fld 1end mouseUp</script>
  583.     </part>
  584.     <part>
  585.         <id>2</id>
  586.         <type>field</type>
  587.         <visible> <true /> </visible>
  588.         <dontWrap> <false /> </dontWrap>
  589.         <dontSearch> <false /> </dontSearch>
  590.         <sharedText> <false /> </sharedText>
  591.         <fixedLineHeight> <false /> </fixedLineHeight>
  592.         <autoTab> <false /> </autoTab>
  593.         <lockText> <true /> </lockText>
  594.         <rect>
  595.             <left>6</left>
  596.             <top>102</top>
  597.             <right>166</right>
  598.             <bottom>302</bottom>
  599.         </rect>
  600.         <style>transparent</style>
  601.         <autoSelect> <false /> </autoSelect>
  602.         <showLines> <false /> </showLines>
  603.         <wideMargins> <false /> </wideMargins>
  604.         <multipleLines> <false /> </multipleLines>
  605.         <reservedFamily> 0 </reservedFamily>
  606.         <titleWidth>0</titleWidth>
  607.         <icon>0</icon>
  608.         <textAlign>left</textAlign>
  609.         <font>Monaco</font>
  610.         <textSize>9</textSize>
  611.         <textStyle>plain</textStyle>
  612.         <textHeight>12</textHeight>
  613.         <name></name>
  614.         <script></script>
  615.     </part>
  616.     <content>
  617.         <layer>background</layer>
  618.         <id>3</id>
  619.         <text><span class="style3">indTypes</span><span class="style1">(</span><span class="style2"><directory>,┬½c & t┬╗,┬½idle cursor┬╗,             ┬½no cat┬╗,<type1>,[<t2>,<t3>...]</span><span class="style1">)</span></text>
  620.     </content>
  621.     <content>
  622.         <layer>background</layer>
  623.         <id>4</id>
  624.         <text><span class="style3">bout</span><span class="style1">     This XFCN is a bit complicated in its usage and parameters, but the basic concept is simple.  This XFCN will search a directory (and all its subdirectories) for files of the types specified.  The XFCN can search for up to 12 different file types.     Additional features:  This XFCN can return type and creator codes with each file that it finds, it can spin the beach ball cursor while it searches, it can use System 7 catalog searches if desired (see "Notes" below), and the search can be canceled by issuing a command-period (though this will cancel the script that is executing as well).     The output of this XFCN is a return-delimited list of full pathnames, with creator and type codes if requested.  For example, it might return:</span><span class="style4">HD:System Folder:Control Panels:CaptureHD:System Folder:Control Panels:InUse</span><span class="style1">or, if codes are requested:</span><span class="style4">Captcdev,HD:System Folder:Control Panels:CaptureInUscdev,HD:System Folder:Control Panels:InUse</span><span class="style1">The file's creator code will be chars 1 through 4 of the line, and the file's type will be chars 5 through 8.       This XFCN is reasonably fast, but your mileage may vary.  See "Notes" for more information on this.</span><span class="style3">Parameters</span><span class="style1">     The first parameter should be the full pathname of the directory to be searched.  Remember, names for directories end in colons.  (Such as "HD:System Folder:")     The second parameter determines whether or not the XFCN returns creator and type codes.  If true, the codes are returned;  if false, they are not.     The third parameter determines whether or not the XFCN is to spin the beach ball cursor while it searches.  This slows down the XFCN a little, but should normally by done to give good feedback to the user.  If true, the ball will spin;  if false, it will not.     The fourth parameter tells the XFCN whether or not it should try to use a System7 "catalog" search.  (See "Notes".)  If this is false, the XFCN will try a  catalog search, otherwise it will not.     The remaining parameters should be four-character strings which specify file types.  If a string of longer than four characters is passed, the string will be truncated to four characters.</span><span class="style3">Error Messages</span><span class="style1"></span><span class="style4">Error: Bad volume name</span><span class="style7"></span><span class="style1">     This will be returned if the first item in the colon-delimited pathname does not designate an accessible volume.</span><span class="style7"></span><span class="style4">Error: Not enough memory to begin</span><span class="style7"></span><span class="style1">     Since the return strings can be large, this XFCN allocates memory in chunks of 10K.  If it can't get this much right away, it will return this message.</span><span class="style7"></span><span class="style4">Error: Invalid directory</span><span class="style7"></span><span class="style1">     This means the initial pathname does not indicate a folder that the XFCN can find.</span><span class="style4">Error: Search cancelled by user</span><span class="style7"></span><span class="style1">     If the user presses command-period along the way, the search will be cancelled and this will be placed in gXCMDError.  However, the XFCN will not return an error.  Rather, it will return all the files it had found up to that point.</span><span class="style7"></span><span class="style4">Error: Out of memory before completion</span><span class="style7"></span><span class="style1">     This will be loaded into gXCMDError if the XFCN runs out of memory before it can finish.  What it could find will be returned as the result.</span><span class="style3">Notes</span><span class="style1">     This XFCN has two "modes" of searching:  catalog search and brute-force search.  Catalog searching is something new with System 7, and is blazingly fast--the "Find" command in the 7.0 Finder uses a catalog search.     So why </span><span class="style3">not</span><span class="style1"> use catalog searching?  There are a couple of problems with catalog searches.  First, a catalog search always searches the entire volume, which may not be so fast.  (The XFCN is smart enough to only return those files that are in the target directory, but it finds all of them on the volume.)  Catalog searching is fast, but if you're looking in a folder with only one or two subfolders and only expect a few files to be found, a catalog search might actually be </span><span class="style3">slower</span><span class="style1">.     The second thing that may make a catalog search slower is that a catalog search can only search for one type at a time.  Thus, if you are searching for ten different file types, a catalog search will search your entire disk ten times.  (This can still be faster, though, if the disk is large and you're searching a lot of it.)     Thirdly, a catalog search is easier to "fool" than a brute-force search.  For example, some extensions (such as AutoDoubler) change files' actual creator and type.  This is normally not a problem, because they patch the "get info" type calls.  However, a catalog search never makes such a call and will </span><span class="style3">not</span><span class="style1"> find files that have been changed in such a way.   On the plus side, catalog searches are rippingly fast and much easier to "monitor" during execution--the cursor idling is more consistent, and a huge volume can be searched in seconds.  But be aware that robustness can be sacrificed.</span></text>
  625.     </content>
  626.     <content>
  627.         <layer>background</layer>
  628.         <id>8</id>
  629.         <text>0,380,653,1028</text>
  630.     </content>
  631.     <name>findTypes()</name>
  632.     <script>on closeCardput empty into cd fld 1set the style of cd fld 1 to "Transparent"end closeCard</script>
  633. </card>
  634.  
  635.  
  636. card_6130.xml
  637. <?xml version="1.0" encoding="utf-8" ?>
  638. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  639. <card>
  640.     <id>6130</id>
  641.     <filler1>0</filler1>
  642.     <cantDelete> <false /> </cantDelete>
  643.     <showPict> <true /> </showPict>
  644.     <dontSearch> <false /> </dontSearch>
  645.     <owner>4723</owner>
  646.     <link rel="stylesheet" type="text/css" href="stylesheet_3308.css" />
  647.     <part>
  648.         <id>1</id>
  649.         <type>button</type>
  650.         <visible> <true /> </visible>
  651.         <reserved5> 0 </reserved5>
  652.         <reserved4> 0 </reserved4>
  653.         <reserved3> 0 </reserved3>
  654.         <reserved2> 0 </reserved2>
  655.         <reserved1> 0 </reserved1>
  656.         <enabled> <true /> </enabled>
  657.         <rect>
  658.             <left>36</left>
  659.             <top>310</top>
  660.             <right>136</right>
  661.             <bottom>332</bottom>
  662.         </rect>
  663.         <style>roundrect</style>
  664.         <showName> <true /> </showName>
  665.         <highlight> <false /> </highlight>
  666.         <autoHighlight> <true /> </autoHighlight>
  667.         <sharedHighlight> <true /> </sharedHighlight>
  668.         <family>0</family>
  669.         <titleWidth>0</titleWidth>
  670.         <icon>0</icon>
  671.         <textAlign>center</textAlign>
  672.         <font>Chicago</font>
  673.         <textSize>12</textSize>
  674.         <textStyle>plain</textStyle>
  675.         <name>Try Me</name>
  676.         <script>on mouseUpput "ΓÇó Stack functions:" & return into cd fld 1   --Γêåput findHandlers(the script of this stack, t, "functions") after cd fld 1put return & return after cd fld 1put "ΓÇó Stack message handlers:" & return after cd fld 1   --Γêåput findHandlers(the script of this stack, f, "messages") after cd fld 1end mouseUp</script>
  677.     </part>
  678.     <part>
  679.         <id>2</id>
  680.         <type>field</type>
  681.         <visible> <true /> </visible>
  682.         <dontWrap> <true /> </dontWrap>
  683.         <dontSearch> <false /> </dontSearch>
  684.         <sharedText> <false /> </sharedText>
  685.         <fixedLineHeight> <false /> </fixedLineHeight>
  686.         <autoTab> <false /> </autoTab>
  687.         <lockText> <true /> </lockText>
  688.         <rect>
  689.             <left>6</left>
  690.             <top>123</top>
  691.             <right>166</right>
  692.             <bottom>296</bottom>
  693.         </rect>
  694.         <style>transparent</style>
  695.         <autoSelect> <false /> </autoSelect>
  696.         <showLines> <false /> </showLines>
  697.         <wideMargins> <false /> </wideMargins>
  698.         <multipleLines> <false /> </multipleLines>
  699.         <reservedFamily> 0 </reservedFamily>
  700.         <titleWidth>0</titleWidth>
  701.         <icon>0</icon>
  702.         <textAlign>left</textAlign>
  703.         <font>Monaco</font>
  704.         <textSize>9</textSize>
  705.         <textStyle>plain</textStyle>
  706.         <textHeight>12</textHeight>
  707.         <name></name>
  708.         <script></script>
  709.     </part>
  710.     <content>
  711.         <layer>background</layer>
  712.         <id>3</id>
  713.         <text><span class="style3">indHandlers</span><span class="style1">(</span><span class="style2"><script>,[┬½return offsets┬╗],                         [functions|messages|both]</span><span class="style1">)</span></text>
  714.     </content>
  715.     <content>
  716.         <layer>background</layer>
  717.         <id>4</id>
  718.         <text><span class="style3">bout</span><span class="style1">     This XFCN takes a script and finds all the handlers in that script.  It will also return the starting and ending offsets of the handler within the script, and can "filter" to find just functions or just message handlers.     It returns a return-delimited list of handlers, followed by the starting and ending offsets (separated by commas).  The return would look something like this:</span><span class="style4">openStack,1,63closeStack,65,130suspendStack,132,186resumeStack,205,273</span><span class="style1">This works well in combination with compareLines() to determine whether a script has changed in functionality at all.</span><span class="style3">Parameters</span><span class="style1">     The first parameter should be a standard HyperTalk script.  This XFCN will return strange, meaningless things otherwise.     The optional, Boolean second parameter defaults to "true".  If it is true, the character offsets are returned along with the handler names.     The optional third parameter defaults to "both".  This XFCN will find either functions (denoted with "function") or message handlers (denoted by "on") or both.</span><span class="style3">Error Messages</span><span class="style1">     There are no special error messages returned by this XFCN, but the XFCN can be "confused".  If there is a handler in the script that is not "closed", that is, that has no "end" statement associated with it, this XFCN will be unable to find any more handlers, and will report the unclosed handler.  The output in that case would look something like this:</span><span class="style3">Notes</span><span class="style1">     Again, this is basically simple string manipulation and could be done in HyperTalk without tremendous effort.  This XFCN is faster, though, particularly for very long scripts with many handlers.</span></text>
  719.     </content>
  720.     <content>
  721.         <layer>background</layer>
  722.         <id>8</id>
  723.         <text>0,224,301,301</text>
  724.     </content>
  725.     <name>findHandlers()</name>
  726.     <script>on closeCardput empty into cd fld 1end closeCard</script>
  727. </card>
  728.  
  729.  
  730. card_5878.xml
  731. <?xml version="1.0" encoding="utf-8" ?>
  732. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  733. <card>
  734.     <id>5878</id>
  735.     <filler1>0</filler1>
  736.     <cantDelete> <false /> </cantDelete>
  737.     <showPict> <true /> </showPict>
  738.     <dontSearch> <false /> </dontSearch>
  739.     <owner>4723</owner>
  740.     <link rel="stylesheet" type="text/css" href="stylesheet_3308.css" />
  741.     <part>
  742.         <id>1</id>
  743.         <type>button</type>
  744.         <visible> <true /> </visible>
  745.         <reserved5> 0 </reserved5>
  746.         <reserved4> 0 </reserved4>
  747.         <reserved3> 0 </reserved3>
  748.         <reserved2> 0 </reserved2>
  749.         <reserved1> 0 </reserved1>
  750.         <enabled> <true /> </enabled>
  751.         <rect>
  752.             <left>36</left>
  753.             <top>310</top>
  754.             <right>136</right>
  755.             <bottom>332</bottom>
  756.         </rect>
  757.         <style>roundrect</style>
  758.         <showName> <true /> </showName>
  759.         <highlight> <false /> </highlight>
  760.         <autoHighlight> <true /> </autoHighlight>
  761.         <sharedHighlight> <true /> </sharedHighlight>
  762.         <family>0</family>
  763.         <titleWidth>0</titleWidth>
  764.         <icon>0</icon>
  765.         <textAlign>center</textAlign>
  766.         <font>Chicago</font>
  767.         <textSize>12</textSize>
  768.         <textStyle>plain</textStyle>
  769.         <name>Try Me</name>
  770.         <script>on mouseUpglobal gXCMDErroranswer file "Check the data fork of which file?"  --Γêåput it into PathNameif PathName is empty then exit mouseUpput fileDataSize(PathName) into NumberOfBytesif gXCMDError is not empty thenanswer gXCMDErrorexit mouseUpend ifset itemDelimiter to colonput lastItem(":",PathName) into FileNameanswer "The data fork of ΓÇ£" & FileName & "ΓÇ¥ is" && NumberOfBytes┬¼ --Γêå&& "bytes in size." --Γêåend mouseUp</script>
  771.     </part>
  772.     <content>
  773.         <layer>background</layer>
  774.         <id>3</id>
  775.         <text><span class="style3">ileDataSize</span><span class="style1">(</span><span class="style2"><fileName></span><span class="style1">)</span></text>
  776.     </content>
  777.     <content>
  778.         <layer>background</layer>
  779.         <id>4</id>
  780.         <text><span class="style3">bout</span><span class="style1">     This XFCN returns the size of a file's data fork, in bytes.  This can be especially useful before using HyperTalk's "read" command.</span><span class="style3">Parameters</span><span class="style1">      This XFCN takes one parameter, the full pathname of the file to be examined.</span><span class="style3">Error Messages</span><span class="style1">     Because it's HFS, a plethora of error messages are possible.</span><span class="style4">Error: Bad file nameError: File not foundError: No such volume</span><span class="style2"></span><span class="style1">   These errors likely means the pathname passed is not an actual pathname.  Check your input.</span><span class="style4">Error: File already open for writing</span><span class="style1">     This will happen if you aim the XFCN at an open file.</span><span class="style4">Error: I/O error</span><span class="style1">    This means there was some error in the device or driver.</span><span class="style4">Error: Too many files open</span><span class="style1">   This is probably caused by a low-memory situation.</span><span class="style4">Error:  HFS error number <###></span><span class="style1">   Some other file system error occurred.  You'll have to find a table.</span><span class="style3">Notes</span><span class="style1">      There is nothing spectacular about this XFCN, but I like to check files before I read from them.</span></text>
  781.     </content>
  782.     <content>
  783.         <layer>background</layer>
  784.         <id>8</id>
  785.         <text>0,65,117,215</text>
  786.     </content>
  787.     <name>fileDataSize()</name>
  788.     <script></script>
  789. </card>
  790.  
  791.  
  792. card_5599.xml
  793. <?xml version="1.0" encoding="utf-8" ?>
  794. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  795. <card>
  796.     <id>5599</id>
  797.     <filler1>0</filler1>
  798.     <cantDelete> <false /> </cantDelete>
  799.     <showPict> <true /> </showPict>
  800.     <dontSearch> <false /> </dontSearch>
  801.     <owner>4723</owner>
  802.     <link rel="stylesheet" type="text/css" href="stylesheet_3308.css" />
  803.     <content>
  804.         <layer>background</layer>
  805.         <id>3</id>
  806.         <text><span class="style3">ompareLines</span><span class="style1">(</span><span class="style2"><BlockA>,<BlockB></span><span class="style1">)</span></text>
  807.     </content>
  808.     <content>
  809.         <layer>background</layer>
  810.         <id>4</id>
  811.         <text><span class="style3">bout</span><span class="style1">     This XFCN takes two blocks of text and compares the lines in the two blocks, one at a time.  It was designed to compare HyperTalk handlers to determine if they are different.  If the two blocks of text are identical, the XFCN returns empty.  Otherwise, it returns something like this:</span><span class="style4">These lines in A are not in B:3 to 69 to 911 to 13These lines in B are not in A:15 to 1517 to 20</span><span class="style1">The numbers in the return text are line numbers, which may be referenced by HyperTalk.  </span><span class="style3">Parameters     </span><span class="style1">The parameters passed should be two blocks of text.  No line in either block should be larger than 200 characters.</span><span class="style3">Error Messages</span><span class="style4">Error: Not enough memory to complete</span><span class="style3">    </span><span class="style1">Because this XFCN has to make copies of the two blocks of text, it can use a fair amount of memory if the two blocks are large. </span><span class="style3">Notes     </span><span class="style1">This XFCN is </span><span class="style3">not</span><span class="style1"> case-sensitive.  In addition, it strips out additional spaces between the text.  The two lines may not in fact be identical, then, in terms of case and spacing.  However, the HyperTalk interpreter will act as if these lines are the same, and so will this XFCN.     Yes, it is possible to do this with HyperTalk, but this is much faster.</span></text>
  812.     </content>
  813.     <content>
  814.         <layer>background</layer>
  815.         <id>8</id>
  816.         <text>0,219,219,219</text>
  817.     </content>
  818.     <name>compareLines()</name>
  819.     <script></script>
  820. </card>
  821.  
  822.  
  823. card_4966.xml
  824. <?xml version="1.0" encoding="utf-8" ?>
  825. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  826. <card>
  827.     <id>4966</id>
  828.     <filler1>0</filler1>
  829.     <cantDelete> <false /> </cantDelete>
  830.     <showPict> <true /> </showPict>
  831.     <dontSearch> <false /> </dontSearch>
  832.     <owner>4723</owner>
  833.     <link rel="stylesheet" type="text/css" href="stylesheet_3308.css" />
  834.     <part>
  835.         <id>2</id>
  836.         <type>button</type>
  837.         <visible> <true /> </visible>
  838.         <reserved5> 0 </reserved5>
  839.         <reserved4> 0 </reserved4>
  840.         <reserved3> 0 </reserved3>
  841.         <reserved2> 0 </reserved2>
  842.         <reserved1> 0 </reserved1>
  843.         <enabled> <true /> </enabled>
  844.         <rect>
  845.             <left>36</left>
  846.             <top>310</top>
  847.             <right>136</right>
  848.             <bottom>332</bottom>
  849.         </rect>
  850.         <style>roundrect</style>
  851.         <showName> <true /> </showName>
  852.         <highlight> <false /> </highlight>
  853.         <autoHighlight> <true /> </autoHighlight>
  854.         <sharedHighlight> <true /> </sharedHighlight>
  855.         <family>0</family>
  856.         <titleWidth>0</titleWidth>
  857.         <icon>0</icon>
  858.         <textAlign>center</textAlign>
  859.         <font>Chicago</font>
  860.         <textSize>12</textSize>
  861.         <textStyle>plain</textStyle>
  862.         <name>Try Me</name>
  863.         <script>on mouseUpif checkDebugger() is true thenanswer "Yes, you have a system debugger installed."  --Γêåelseanswer "No, you don't have a system debugger installed."  --Γêåend ifend mouseUp</script>
  864.     </part>
  865.     <content>
  866.         <layer>background</layer>
  867.         <id>3</id>
  868.         <text><span class="style3">heckDebugger</span><span class="style1">()</span></text>
  869.     </content>
  870.     <content>
  871.         <layer>background</layer>
  872.         <id>4</id>
  873.         <text><span class="style3">bout</span><span class="style1">     This XFCN checks to see if a system debugger (such as MacsBug) is present.  If so, it returns "true," otherwise it returns "false".</span><span class="style3">Parameters     </span><span class="style1">No parameters are passed to this XFCN.</span><span class="style3">Error Messages    </span><span class="style1">There are no special error messages returned by this XFCN.</span><span class="style3">Notes    </span><span class="style1">For those techno-weenies wondering how on earth this works (because GetTrapAddress doesn't work on _Debugger and _DebugStr), there is an address in low memory (0x0120) that points to zero if no debugger is installed, and something else if one is. </span></text>
  874.     </content>
  875.     <name>checkDebugger()</name>
  876.     <script>on openCardhide bg btn "Section"end openCardon closeCardshow bg btn "Section"end closeCard</script>
  877. </card>
  878.  
  879.  
  880. card_8984.xml
  881. <?xml version="1.0" encoding="utf-8" ?>
  882. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  883. <card>
  884.     <id>8984</id>
  885.     <filler1>0</filler1>
  886.     <cantDelete> <false /> </cantDelete>
  887.     <showPict> <true /> </showPict>
  888.     <dontSearch> <false /> </dontSearch>
  889.     <owner>2809</owner>
  890.     <link rel="stylesheet" type="text/css" href="stylesheet_3308.css" />
  891.     <part>
  892.         <id>1</id>
  893.         <type>field</type>
  894.         <visible> <true /> </visible>
  895.         <dontWrap> <false /> </dontWrap>
  896.         <dontSearch> <false /> </dontSearch>
  897.         <sharedText> <false /> </sharedText>
  898.         <fixedLineHeight> <false /> </fixedLineHeight>
  899.         <autoTab> <false /> </autoTab>
  900.         <lockText> <true /> </lockText>
  901.         <rect>
  902.             <left>25</left>
  903.             <top>75</top>
  904.             <right>487</right>
  905.             <bottom>318</bottom>
  906.         </rect>
  907.         <style>transparent</style>
  908.         <autoSelect> <false /> </autoSelect>
  909.         <showLines> <false /> </showLines>
  910.         <wideMargins> <false /> </wideMargins>
  911.         <multipleLines> <false /> </multipleLines>
  912.         <reservedFamily> 0 </reservedFamily>
  913.         <titleWidth>0</titleWidth>
  914.         <icon>0</icon>
  915.         <textAlign>left</textAlign>
  916.         <font>Geneva</font>
  917.         <textSize>12</textSize>
  918.         <textStyle>plain</textStyle>
  919.         <textHeight>16</textHeight>
  920.         <name></name>
  921.         <script></script>
  922.     </part>
  923.     <content>
  924.         <layer>background</layer>
  925.         <id>1</id>
  926.         <text>Stack Disclaimer</text>
  927.     </content>
  928.     <content>
  929.         <layer>card</layer>
  930.         <id>1</id>
  931.         <text>This software is brought to you courtesy of BungDabba Productions. This software is provided "as is" without warranty of any kind, and BungDabba Productions expressly disclaims all implied warranties, including but not limited to the implied warranties of merchantability and fitness for a particular purpose. The entire risk as to the results and performance of this software is assumed by you.You are free to use and distribute this stack, or any portion of this stack, anyway you see fit. </text>
  932.     </content>
  933.     <name>Stack Disclaimer</name>
  934.     <script></script>
  935. </card>
  936.  
  937.  
  938. card_4248.xml
  939. <?xml version="1.0" encoding="utf-8" ?>
  940. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  941. <card>
  942.     <id>4248</id>
  943.     <filler1>0</filler1>
  944.     <cantDelete> <false /> </cantDelete>
  945.     <showPict> <true /> </showPict>
  946.     <dontSearch> <false /> </dontSearch>
  947.     <owner>2809</owner>
  948.     <link rel="stylesheet" type="text/css" href="stylesheet_3308.css" />
  949.     <part>
  950.         <id>1</id>
  951.         <type>field</type>
  952.         <visible> <true /> </visible>
  953.         <dontWrap> <false /> </dontWrap>
  954.         <dontSearch> <false /> </dontSearch>
  955.         <sharedText> <false /> </sharedText>
  956.         <fixedLineHeight> <false /> </fixedLineHeight>
  957.         <autoTab> <false /> </autoTab>
  958.         <lockText> <true /> </lockText>
  959.         <rect>
  960.             <left>21</left>
  961.             <top>75</top>
  962.             <right>490</right>
  963.             <bottom>319</bottom>
  964.         </rect>
  965.         <style>transparent</style>
  966.         <autoSelect> <false /> </autoSelect>
  967.         <showLines> <false /> </showLines>
  968.         <wideMargins> <false /> </wideMargins>
  969.         <multipleLines> <false /> </multipleLines>
  970.         <reservedFamily> 0 </reservedFamily>
  971.         <titleWidth>0</titleWidth>
  972.         <icon>0</icon>
  973.         <textAlign>left</textAlign>
  974.         <font>Geneva</font>
  975.         <textSize>10</textSize>
  976.         <textStyle>plain</textStyle>
  977.         <textHeight>13</textHeight>
  978.         <name></name>
  979.         <script></script>
  980.     </part>
  981.     <content>
  982.         <layer>background</layer>
  983.         <id>1</id>
  984.         <text>Conventions</text>
  985.     </content>
  986.     <content>
  987.         <layer>card</layer>
  988.         <id>1</id>
  989.         <text><span class="style1">ome conventions used in this stack:</span><span class="style3">Parameters</span><span class="style1">Parameters in descriptions and such adhere to the following conventions:<parameter>:  Pass not literally the word "parameter", but some string.┬½parameter┬╗:  The parameter is a Boolean parameter, accepting either "true" or "false".[parameter]:  The parameter is optional and need not be passed.para | meter :  The XThing accepts either the literal "para" or the literal "meter"The following conventions should be supported by </span><span class="style3">all</span><span class="style1"> XThangs:</span><span class="style3">Syntax and copyright</span><span class="style1">Passing just "?" as a parameter returns syntax information and "!" returns copyright and version information. </span><span class="style3">Error reporting</span><span class="style1">Any errors will be reported in the HyperTalk global variable "gXCMDError".  If one of these XThangs executes successfully, the gXCMDError global will be empty.  Any error will also begin with the string "Error:".</span></text>
  990.     </content>
  991.     <name>Conventions</name>
  992.     <script></script>
  993. </card>
  994.  
  995.  
  996. card_2396.xml
  997. <?xml version="1.0" encoding="utf-8" ?>
  998. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  999. <card>
  1000.     <id>2396</id>
  1001.     <filler1>0</filler1>
  1002.     <cantDelete> <false /> </cantDelete>
  1003.     <showPict> <true /> </showPict>
  1004.     <dontSearch> <false /> </dontSearch>
  1005.     <owner>2809</owner>
  1006.     <link rel="stylesheet" type="text/css" href="stylesheet_3308.css" />
  1007.     <part>
  1008.         <id>1</id>
  1009.         <type>field</type>
  1010.         <visible> <true /> </visible>
  1011.         <dontWrap> <false /> </dontWrap>
  1012.         <dontSearch> <false /> </dontSearch>
  1013.         <sharedText> <false /> </sharedText>
  1014.         <fixedLineHeight> <false /> </fixedLineHeight>
  1015.         <autoTab> <false /> </autoTab>
  1016.         <lockText> <true /> </lockText>
  1017.         <rect>
  1018.             <left>21</left>
  1019.             <top>75</top>
  1020.             <right>490</right>
  1021.             <bottom>319</bottom>
  1022.         </rect>
  1023.         <style>opaque</style>
  1024.         <autoSelect> <false /> </autoSelect>
  1025.         <showLines> <false /> </showLines>
  1026.         <wideMargins> <false /> </wideMargins>
  1027.         <multipleLines> <false /> </multipleLines>
  1028.         <reservedFamily> 0 </reservedFamily>
  1029.         <titleWidth>0</titleWidth>
  1030.         <icon>0</icon>
  1031.         <textAlign>left</textAlign>
  1032.         <font>Geneva</font>
  1033.         <textSize>10</textSize>
  1034.         <textStyle>plain</textStyle>
  1035.         <textHeight>13</textHeight>
  1036.         <name></name>
  1037.         <script></script>
  1038.     </part>
  1039.     <content>
  1040.         <layer>background</layer>
  1041.         <id>1</id>
  1042.         <text>About This Stack</text>
  1043.     </content>
  1044.     <content>
  1045.         <layer>card</layer>
  1046.         <id>1</id>
  1047.         <text>This stack is a collection of XCMDs and XFCNs for HyperCard 2.x.  It is provided as a freeware gift from BungDabba productions.  They can be copied from this stack to your stacks with a utility such as ResExpress or ResEdit, or the Resource Mover provided in the Power Tools stack.The index displays a list of the XCMDs and XFCNs provided.  By using the "XThangs" menu or the buttons on the index card, you can navigate through the stack.  Each XThang has its own card which contains a description and some notes for that XThang.  Hopefully, you will find one or more of these XThangs useful.Questions?  Comments?  Undocumented functionality (somtimes mistakenly referred to as "bugs")?  Send electronic mail to "gt1991b@prism.gatech.edu".</text>
  1048.     </content>
  1049.     <name>About This Stack</name>
  1050.     <script></script>
  1051. </card>
  1052.  
  1053.  
  1054. card_3998.xml
  1055. <?xml version="1.0" encoding="utf-8" ?>
  1056. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  1057. <card>
  1058.     <id>3998</id>
  1059.     <filler1>0</filler1>
  1060.     <bitmap>BMAP_2209.pbm</bitmap>
  1061.     <cantDelete> <false /> </cantDelete>
  1062.     <showPict> <true /> </showPict>
  1063.     <dontSearch> <false /> </dontSearch>
  1064.     <owner>2809</owner>
  1065.     <link rel="stylesheet" type="text/css" href="stylesheet_3308.css" />
  1066.     <part>
  1067.         <id>1</id>
  1068.         <type>field</type>
  1069.         <visible> <false /> </visible>
  1070.         <dontWrap> <false /> </dontWrap>
  1071.         <dontSearch> <false /> </dontSearch>
  1072.         <sharedText> <false /> </sharedText>
  1073.         <fixedLineHeight> <true /> </fixedLineHeight>
  1074.         <autoTab> <false /> </autoTab>
  1075.         <lockText> <true /> </lockText>
  1076.         <rect>
  1077.             <left>33</left>
  1078.             <top>41</top>
  1079.             <right>172</right>
  1080.             <bottom>320</bottom>
  1081.         </rect>
  1082.         <style>opaque</style>
  1083.         <autoSelect> <false /> </autoSelect>
  1084.         <showLines> <false /> </showLines>
  1085.         <wideMargins> <true /> </wideMargins>
  1086.         <multipleLines> <false /> </multipleLines>
  1087.         <reservedFamily> 0 </reservedFamily>
  1088.         <titleWidth>0</titleWidth>
  1089.         <icon>0</icon>
  1090.         <textAlign>left</textAlign>
  1091.         <font>Chicago</font>
  1092.         <textSize>12</textSize>
  1093.         <textStyle>plain</textStyle>
  1094.         <textHeight>24</textHeight>
  1095.         <name>XThing List</name>
  1096.         <script>on mouseUpput the clickLineend mouseUp</script>
  1097.     </part>
  1098.     <part>
  1099.         <id>3</id>
  1100.         <type>button</type>
  1101.         <visible> <true /> </visible>
  1102.         <reserved5> 0 </reserved5>
  1103.         <reserved4> 0 </reserved4>
  1104.         <reserved3> 0 </reserved3>
  1105.         <reserved2> 0 </reserved2>
  1106.         <reserved1> 0 </reserved1>
  1107.         <enabled> <true /> </enabled>
  1108.         <rect>
  1109.             <left>30</left>
  1110.             <top>49</top>
  1111.             <right>177</right>
  1112.             <bottom>71</bottom>
  1113.         </rect>
  1114.         <style>transparent</style>
  1115.         <showName> <true /> </showName>
  1116.         <highlight> <true /> </highlight>
  1117.         <autoHighlight> <false /> </autoHighlight>
  1118.         <sharedHighlight> <true /> </sharedHighlight>
  1119.         <family>0</family>
  1120.         <titleWidth>0</titleWidth>
  1121.         <icon>0</icon>
  1122.         <textAlign>left</textAlign>
  1123.         <font>Palatino</font>
  1124.         <textSize>14</textSize>
  1125.         <textStyle>plain</textStyle>
  1126.         <name>checkDebugger()</name>
  1127.         <script>on mouseUpset the hilite of cd btn selectedButton() to falseselectButton the short name of meend mouseUp</script>
  1128.     </part>
  1129.     <part>
  1130.         <id>5</id>
  1131.         <type>button</type>
  1132.         <visible> <true /> </visible>
  1133.         <reserved5> 0 </reserved5>
  1134.         <reserved4> 0 </reserved4>
  1135.         <reserved3> 0 </reserved3>
  1136.         <reserved2> 0 </reserved2>
  1137.         <reserved1> 0 </reserved1>
  1138.         <enabled> <true /> </enabled>
  1139.         <rect>
  1140.             <left>30</left>
  1141.             <top>73</top>
  1142.             <right>177</right>
  1143.             <bottom>95</bottom>
  1144.         </rect>
  1145.         <style>transparent</style>
  1146.         <showName> <true /> </showName>
  1147.         <highlight> <false /> </highlight>
  1148.         <autoHighlight> <false /> </autoHighlight>
  1149.         <sharedHighlight> <true /> </sharedHighlight>
  1150.         <family>0</family>
  1151.         <titleWidth>0</titleWidth>
  1152.         <icon>0</icon>
  1153.         <textAlign>left</textAlign>
  1154.         <font>Palatino</font>
  1155.         <textSize>14</textSize>
  1156.         <textStyle>plain</textStyle>
  1157.         <name>compareLines()</name>
  1158.         <script>on mouseUpset the hilite of cd btn selectedButton() to falseselectButton the short name of meend mouseUp</script>
  1159.     </part>
  1160.     <part>
  1161.         <id>6</id>
  1162.         <type>button</type>
  1163.         <visible> <true /> </visible>
  1164.         <reserved5> 0 </reserved5>
  1165.         <reserved4> 0 </reserved4>
  1166.         <reserved3> 0 </reserved3>
  1167.         <reserved2> 0 </reserved2>
  1168.         <reserved1> 0 </reserved1>
  1169.         <enabled> <true /> </enabled>
  1170.         <rect>
  1171.             <left>30</left>
  1172.             <top>121</top>
  1173.             <right>177</right>
  1174.             <bottom>143</bottom>
  1175.         </rect>
  1176.         <style>transparent</style>
  1177.         <showName> <true /> </showName>
  1178.         <highlight> <false /> </highlight>
  1179.         <autoHighlight> <false /> </autoHighlight>
  1180.         <sharedHighlight> <true /> </sharedHighlight>
  1181.         <family>0</family>
  1182.         <titleWidth>0</titleWidth>
  1183.         <icon>0</icon>
  1184.         <textAlign>left</textAlign>
  1185.         <font>Palatino</font>
  1186.         <textSize>14</textSize>
  1187.         <textStyle>plain</textStyle>
  1188.         <name>fileDataSize()</name>
  1189.         <script>on mouseUpset the hilite of cd btn selectedButton() to falseselectButton the short name of meend mouseUp</script>
  1190.     </part>
  1191.     <part>
  1192.         <id>8</id>
  1193.         <type>button</type>
  1194.         <visible> <true /> </visible>
  1195.         <reserved5> 0 </reserved5>
  1196.         <reserved4> 0 </reserved4>
  1197.         <reserved3> 0 </reserved3>
  1198.         <reserved2> 0 </reserved2>
  1199.         <reserved1> 0 </reserved1>
  1200.         <enabled> <true /> </enabled>
  1201.         <rect>
  1202.             <left>30</left>
  1203.             <top>97</top>
  1204.             <right>177</right>
  1205.             <bottom>119</bottom>
  1206.         </rect>
  1207.         <style>transparent</style>
  1208.         <showName> <true /> </showName>
  1209.         <highlight> <false /> </highlight>
  1210.         <autoHighlight> <false /> </autoHighlight>
  1211.         <sharedHighlight> <true /> </sharedHighlight>
  1212.         <family>0</family>
  1213.         <titleWidth>0</titleWidth>
  1214.         <icon>0</icon>
  1215.         <textAlign>left</textAlign>
  1216.         <font>Palatino</font>
  1217.         <textSize>14</textSize>
  1218.         <textStyle>plain</textStyle>
  1219.         <name>findHandlers()</name>
  1220.         <script>on mouseUpset the hilite of cd btn selectedButton() to falseselectButton the short name of meend mouseUp</script>
  1221.     </part>
  1222.     <part>
  1223.         <id>9</id>
  1224.         <type>button</type>
  1225.         <visible> <true /> </visible>
  1226.         <reserved5> 0 </reserved5>
  1227.         <reserved4> 0 </reserved4>
  1228.         <reserved3> 0 </reserved3>
  1229.         <reserved2> 0 </reserved2>
  1230.         <reserved1> 0 </reserved1>
  1231.         <enabled> <true /> </enabled>
  1232.         <rect>
  1233.             <left>30</left>
  1234.             <top>145</top>
  1235.             <right>177</right>
  1236.             <bottom>167</bottom>
  1237.         </rect>
  1238.         <style>transparent</style>
  1239.         <showName> <true /> </showName>
  1240.         <highlight> <false /> </highlight>
  1241.         <autoHighlight> <false /> </autoHighlight>
  1242.         <sharedHighlight> <true /> </sharedHighlight>
  1243.         <family>0</family>
  1244.         <titleWidth>0</titleWidth>
  1245.         <icon>0</icon>
  1246.         <textAlign>left</textAlign>
  1247.         <font>Palatino</font>
  1248.         <textSize>14</textSize>
  1249.         <textStyle>plain</textStyle>
  1250.         <name>findTypes()</name>
  1251.         <script>on mouseUpset the hilite of cd btn selectedButton() to falseselectButton the short name of meend mouseUp</script>
  1252.     </part>
  1253.     <part>
  1254.         <id>10</id>
  1255.         <type>button</type>
  1256.         <visible> <true /> </visible>
  1257.         <reserved5> 0 </reserved5>
  1258.         <reserved4> 0 </reserved4>
  1259.         <reserved3> 0 </reserved3>
  1260.         <reserved2> 0 </reserved2>
  1261.         <reserved1> 0 </reserved1>
  1262.         <enabled> <true /> </enabled>
  1263.         <rect>
  1264.             <left>30</left>
  1265.             <top>169</top>
  1266.             <right>177</right>
  1267.             <bottom>191</bottom>
  1268.         </rect>
  1269.         <style>transparent</style>
  1270.         <showName> <true /> </showName>
  1271.         <highlight> <false /> </highlight>
  1272.         <autoHighlight> <false /> </autoHighlight>
  1273.         <sharedHighlight> <true /> </sharedHighlight>
  1274.         <family>0</family>
  1275.         <titleWidth>0</titleWidth>
  1276.         <icon>0</icon>
  1277.         <textAlign>left</textAlign>
  1278.         <font>Palatino</font>
  1279.         <textSize>14</textSize>
  1280.         <textStyle>plain</textStyle>
  1281.         <name>hitRegion()</name>
  1282.         <script>on mouseUpset the hilite of cd btn selectedButton() to falseselectButton the short name of meend mouseUp</script>
  1283.     </part>
  1284.     <part>
  1285.         <id>11</id>
  1286.         <type>button</type>
  1287.         <visible> <true /> </visible>
  1288.         <reserved5> 0 </reserved5>
  1289.         <reserved4> 0 </reserved4>
  1290.         <reserved3> 0 </reserved3>
  1291.         <reserved2> 0 </reserved2>
  1292.         <reserved1> 0 </reserved1>
  1293.         <enabled> <true /> </enabled>
  1294.         <rect>
  1295.             <left>30</left>
  1296.             <top>193</top>
  1297.             <right>177</right>
  1298.             <bottom>215</bottom>
  1299.         </rect>
  1300.         <style>transparent</style>
  1301.         <showName> <true /> </showName>
  1302.         <highlight> <false /> </highlight>
  1303.         <autoHighlight> <false /> </autoHighlight>
  1304.         <sharedHighlight> <true /> </sharedHighlight>
  1305.         <family>0</family>
  1306.         <titleWidth>0</titleWidth>
  1307.         <icon>0</icon>
  1308.         <textAlign>left</textAlign>
  1309.         <font>Palatino</font>
  1310.         <textSize>14</textSize>
  1311.         <textStyle>plain</textStyle>
  1312.         <name>PICTtoRsrc</name>
  1313.         <script>on mouseUpset the hilite of cd btn selectedButton() to falseselectButton the short name of meend mouseUp</script>
  1314.     </part>
  1315.     <part>
  1316.         <id>12</id>
  1317.         <type>button</type>
  1318.         <visible> <true /> </visible>
  1319.         <reserved5> 0 </reserved5>
  1320.         <reserved4> 0 </reserved4>
  1321.         <reserved3> 0 </reserved3>
  1322.         <reserved2> 0 </reserved2>
  1323.         <reserved1> 0 </reserved1>
  1324.         <enabled> <true /> </enabled>
  1325.         <rect>
  1326.             <left>30</left>
  1327.             <top>217</top>
  1328.             <right>177</right>
  1329.             <bottom>239</bottom>
  1330.         </rect>
  1331.         <style>transparent</style>
  1332.         <showName> <true /> </showName>
  1333.         <highlight> <false /> </highlight>
  1334.         <autoHighlight> <false /> </autoHighlight>
  1335.         <sharedHighlight> <true /> </sharedHighlight>
  1336.         <family>0</family>
  1337.         <titleWidth>0</titleWidth>
  1338.         <icon>0</icon>
  1339.         <textAlign>left</textAlign>
  1340.         <font>Palatino</font>
  1341.         <textSize>14</textSize>
  1342.         <textStyle>plain</textStyle>
  1343.         <name>putWithStyle</name>
  1344.         <script>on mouseUpset the hilite of cd btn selectedButton() to falseselectButton the short name of meend mouseUp</script>
  1345.     </part>
  1346.     <part>
  1347.         <id>13</id>
  1348.         <type>button</type>
  1349.         <visible> <true /> </visible>
  1350.         <reserved5> 0 </reserved5>
  1351.         <reserved4> 0 </reserved4>
  1352.         <reserved3> 0 </reserved3>
  1353.         <reserved2> 0 </reserved2>
  1354.         <reserved1> 0 </reserved1>
  1355.         <enabled> <true /> </enabled>
  1356.         <rect>
  1357.             <left>30</left>
  1358.             <top>241</top>
  1359.             <right>177</right>
  1360.             <bottom>263</bottom>
  1361.         </rect>
  1362.         <style>transparent</style>
  1363.         <showName> <true /> </showName>
  1364.         <highlight> <false /> </highlight>
  1365.         <autoHighlight> <false /> </autoHighlight>
  1366.         <sharedHighlight> <true /> </sharedHighlight>
  1367.         <family>0</family>
  1368.         <titleWidth>0</titleWidth>
  1369.         <icon>0</icon>
  1370.         <textAlign>left</textAlign>
  1371.         <font>Palatino</font>
  1372.         <textSize>14</textSize>
  1373.         <textStyle>plain</textStyle>
  1374.         <name>sameCardPicts()</name>
  1375.         <script>on mouseUpset the hilite of cd btn selectedButton() to falseselectButton the short name of meend mouseUp</script>
  1376.     </part>
  1377.     <part>
  1378.         <id>14</id>
  1379.         <type>button</type>
  1380.         <visible> <true /> </visible>
  1381.         <reserved5> 0 </reserved5>
  1382.         <reserved4> 0 </reserved4>
  1383.         <reserved3> 0 </reserved3>
  1384.         <reserved2> 0 </reserved2>
  1385.         <reserved1> 0 </reserved1>
  1386.         <enabled> <true /> </enabled>
  1387.         <rect>
  1388.             <left>30</left>
  1389.             <top>265</top>
  1390.             <right>177</right>
  1391.             <bottom>287</bottom>
  1392.         </rect>
  1393.         <style>transparent</style>
  1394.         <showName> <true /> </showName>
  1395.         <highlight> <false /> </highlight>
  1396.         <autoHighlight> <false /> </autoHighlight>
  1397.         <sharedHighlight> <true /> </sharedHighlight>
  1398.         <family>0</family>
  1399.         <titleWidth>0</titleWidth>
  1400.         <icon>0</icon>
  1401.         <textAlign>left</textAlign>
  1402.         <font>Palatino</font>
  1403.         <textSize>14</textSize>
  1404.         <textStyle>plain</textStyle>
  1405.         <name>selectedPrinter()</name>
  1406.         <script>on mouseUpset the hilite of cd btn selectedButton() to falseselectButton the short name of meend mouseUp</script>
  1407.     </part>
  1408.     <part>
  1409.         <id>4</id>
  1410.         <type>button</type>
  1411.         <visible> <true /> </visible>
  1412.         <reserved5> 0 </reserved5>
  1413.         <reserved4> 0 </reserved4>
  1414.         <reserved3> 0 </reserved3>
  1415.         <reserved2> 0 </reserved2>
  1416.         <reserved1> 0 </reserved1>
  1417.         <enabled> <true /> </enabled>
  1418.         <rect>
  1419.             <left>30</left>
  1420.             <top>289</top>
  1421.             <right>177</right>
  1422.             <bottom>311</bottom>
  1423.         </rect>
  1424.         <style>transparent</style>
  1425.         <showName> <true /> </showName>
  1426.         <highlight> <false /> </highlight>
  1427.         <autoHighlight> <false /> </autoHighlight>
  1428.         <sharedHighlight> <true /> </sharedHighlight>
  1429.         <family>0</family>
  1430.         <titleWidth>0</titleWidth>
  1431.         <icon>0</icon>
  1432.         <textAlign>left</textAlign>
  1433.         <font>Palatino</font>
  1434.         <textSize>14</textSize>
  1435.         <textStyle>plain</textStyle>
  1436.         <name>sysDebuggerBreak</name>
  1437.         <script>on mouseUpset the hilite of cd btn selectedButton() to falseselectButton the short name of meend mouseUp</script>
  1438.     </part>
  1439.     <part>
  1440.         <id>15</id>
  1441.         <type>field</type>
  1442.         <visible> <false /> </visible>
  1443.         <dontWrap> <false /> </dontWrap>
  1444.         <dontSearch> <false /> </dontSearch>
  1445.         <sharedText> <false /> </sharedText>
  1446.         <fixedLineHeight> <false /> </fixedLineHeight>
  1447.         <autoTab> <false /> </autoTab>
  1448.         <lockText> <false /> </lockText>
  1449.         <rect>
  1450.             <left>302</left>
  1451.             <top>301</top>
  1452.             <right>462</right>
  1453.             <bottom>323</bottom>
  1454.         </rect>
  1455.         <style>rectangle</style>
  1456.         <autoSelect> <false /> </autoSelect>
  1457.         <showLines> <false /> </showLines>
  1458.         <wideMargins> <false /> </wideMargins>
  1459.         <multipleLines> <false /> </multipleLines>
  1460.         <reservedFamily> 0 </reservedFamily>
  1461.         <titleWidth>0</titleWidth>
  1462.         <icon>0</icon>
  1463.         <textAlign>left</textAlign>
  1464.         <font>Geneva</font>
  1465.         <textSize>12</textSize>
  1466.         <textStyle>plain</textStyle>
  1467.         <textHeight>16</textHeight>
  1468.         <name>Selected Button</name>
  1469.         <script></script>
  1470.     </part>
  1471.     <part>
  1472.         <id>16</id>
  1473.         <type>field</type>
  1474.         <visible> <true /> </visible>
  1475.         <dontWrap> <false /> </dontWrap>
  1476.         <dontSearch> <false /> </dontSearch>
  1477.         <sharedText> <false /> </sharedText>
  1478.         <fixedLineHeight> <false /> </fixedLineHeight>
  1479.         <autoTab> <false /> </autoTab>
  1480.         <lockText> <true /> </lockText>
  1481.         <rect>
  1482.             <left>226</left>
  1483.             <top>104</top>
  1484.             <right>463</right>
  1485.             <bottom>156</bottom>
  1486.         </rect>
  1487.         <style>transparent</style>
  1488.         <autoSelect> <false /> </autoSelect>
  1489.         <showLines> <false /> </showLines>
  1490.         <wideMargins> <false /> </wideMargins>
  1491.         <multipleLines> <false /> </multipleLines>
  1492.         <reservedFamily> 0 </reservedFamily>
  1493.         <titleWidth>0</titleWidth>
  1494.         <icon>0</icon>
  1495.         <textAlign>left</textAlign>
  1496.         <font>Palatino</font>
  1497.         <textSize>12</textSize>
  1498.         <textStyle>plain</textStyle>
  1499.         <textHeight>16</textHeight>
  1500.         <name>Description</name>
  1501.         <script></script>
  1502.     </part>
  1503.     <part>
  1504.         <id>18</id>
  1505.         <type>field</type>
  1506.         <visible> <false /> </visible>
  1507.         <dontWrap> <true /> </dontWrap>
  1508.         <dontSearch> <false /> </dontSearch>
  1509.         <sharedText> <false /> </sharedText>
  1510.         <fixedLineHeight> <false /> </fixedLineHeight>
  1511.         <autoTab> <false /> </autoTab>
  1512.         <lockText> <false /> </lockText>
  1513.         <rect>
  1514.             <left>198</left>
  1515.             <top>136</top>
  1516.             <right>495</right>
  1517.             <bottom>281</bottom>
  1518.         </rect>
  1519.         <style>rectangle</style>
  1520.         <autoSelect> <false /> </autoSelect>
  1521.         <showLines> <false /> </showLines>
  1522.         <wideMargins> <false /> </wideMargins>
  1523.         <multipleLines> <false /> </multipleLines>
  1524.         <reservedFamily> 0 </reservedFamily>
  1525.         <titleWidth>0</titleWidth>
  1526.         <icon>0</icon>
  1527.         <textAlign>left</textAlign>
  1528.         <font>Geneva</font>
  1529.         <textSize>9</textSize>
  1530.         <textStyle>plain</textStyle>
  1531.         <textHeight>12</textHeight>
  1532.         <name>XThing Notes</name>
  1533.         <script></script>
  1534.     </part>
  1535.     <part>
  1536.         <id>19</id>
  1537.         <type>button</type>
  1538.         <visible> <true /> </visible>
  1539.         <reserved5> 0 </reserved5>
  1540.         <reserved4> 0 </reserved4>
  1541.         <reserved3> 0 </reserved3>
  1542.         <reserved2> 0 </reserved2>
  1543.         <reserved1> 0 </reserved1>
  1544.         <enabled> <true /> </enabled>
  1545.         <rect>
  1546.             <left>209</left>
  1547.             <top>247</top>
  1548.             <right>341</right>
  1549.             <bottom>269</bottom>
  1550.         </rect>
  1551.         <style>roundrect</style>
  1552.         <showName> <true /> </showName>
  1553.         <highlight> <false /> </highlight>
  1554.         <autoHighlight> <true /> </autoHighlight>
  1555.         <sharedHighlight> <true /> </sharedHighlight>
  1556.         <family>0</family>
  1557.         <titleWidth>0</titleWidth>
  1558.         <icon>0</icon>
  1559.         <textAlign>center</textAlign>
  1560.         <font>Chicago</font>
  1561.         <textSize>12</textSize>
  1562.         <textStyle>plain</textStyle>
  1563.         <name>About This Stack</name>
  1564.         <script>on mouseUpvisual zoom opengo cd the short name of meend mouseUp</script>
  1565.     </part>
  1566.     <part>
  1567.         <id>20</id>
  1568.         <type>button</type>
  1569.         <visible> <true /> </visible>
  1570.         <reserved5> 0 </reserved5>
  1571.         <reserved4> 0 </reserved4>
  1572.         <reserved3> 0 </reserved3>
  1573.         <reserved2> 0 </reserved2>
  1574.         <reserved1> 0 </reserved1>
  1575.         <enabled> <true /> </enabled>
  1576.         <rect>
  1577.             <left>284</left>
  1578.             <top>279</top>
  1579.             <right>416</right>
  1580.             <bottom>301</bottom>
  1581.         </rect>
  1582.         <style>roundrect</style>
  1583.         <showName> <true /> </showName>
  1584.         <highlight> <false /> </highlight>
  1585.         <autoHighlight> <true /> </autoHighlight>
  1586.         <sharedHighlight> <true /> </sharedHighlight>
  1587.         <family>0</family>
  1588.         <titleWidth>0</titleWidth>
  1589.         <icon>0</icon>
  1590.         <textAlign>center</textAlign>
  1591.         <font>Chicago</font>
  1592.         <textSize>12</textSize>
  1593.         <textStyle>plain</textStyle>
  1594.         <name>Conventions</name>
  1595.         <script>on mouseUpvisual zoom opengo cd the short name of meend mouseUp</script>
  1596.     </part>
  1597.     <part>
  1598.         <id>21</id>
  1599.         <type>button</type>
  1600.         <visible> <true /> </visible>
  1601.         <reserved5> 0 </reserved5>
  1602.         <reserved4> 0 </reserved4>
  1603.         <reserved3> 0 </reserved3>
  1604.         <reserved2> 0 </reserved2>
  1605.         <reserved1> 0 </reserved1>
  1606.         <enabled> <true /> </enabled>
  1607.         <rect>
  1608.             <left>353</left>
  1609.             <top>247</top>
  1610.             <right>485</right>
  1611.             <bottom>269</bottom>
  1612.         </rect>
  1613.         <style>roundrect</style>
  1614.         <showName> <true /> </showName>
  1615.         <highlight> <false /> </highlight>
  1616.         <autoHighlight> <true /> </autoHighlight>
  1617.         <sharedHighlight> <true /> </sharedHighlight>
  1618.         <family>0</family>
  1619.         <titleWidth>0</titleWidth>
  1620.         <icon>0</icon>
  1621.         <textAlign>center</textAlign>
  1622.         <font>Chicago</font>
  1623.         <textSize>12</textSize>
  1624.         <textStyle>plain</textStyle>
  1625.         <name>Stack Disclaimer</name>
  1626.         <script>on mouseUpvisual zoom opengo cd the short name of meend mouseUp</script>
  1627.     </part>
  1628.     <part>
  1629.         <id>24</id>
  1630.         <type>field</type>
  1631.         <visible> <true /> </visible>
  1632.         <dontWrap> <false /> </dontWrap>
  1633.         <dontSearch> <false /> </dontSearch>
  1634.         <sharedText> <false /> </sharedText>
  1635.         <fixedLineHeight> <false /> </fixedLineHeight>
  1636.         <autoTab> <false /> </autoTab>
  1637.         <lockText> <true /> </lockText>
  1638.         <rect>
  1639.             <left>216</left>
  1640.             <top>168</top>
  1641.             <right>480</right>
  1642.             <bottom>207</bottom>
  1643.         </rect>
  1644.         <style>transparent</style>
  1645.         <autoSelect> <false /> </autoSelect>
  1646.         <showLines> <false /> </showLines>
  1647.         <wideMargins> <false /> </wideMargins>
  1648.         <multipleLines> <false /> </multipleLines>
  1649.         <reservedFamily> 0 </reservedFamily>
  1650.         <titleWidth>0</titleWidth>
  1651.         <icon>0</icon>
  1652.         <textAlign>center</textAlign>
  1653.         <font>Geneva</font>
  1654.         <textSize>9</textSize>
  1655.         <textStyle>plain</textStyle>
  1656.         <textHeight>12</textHeight>
  1657.         <name></name>
  1658.         <script></script>
  1659.     </part>
  1660.     <part>
  1661.         <id>29</id>
  1662.         <type>button</type>
  1663.         <visible> <true /> </visible>
  1664.         <reserved5> 0 </reserved5>
  1665.         <reserved4> 0 </reserved4>
  1666.         <reserved3> 0 </reserved3>
  1667.         <reserved2> 0 </reserved2>
  1668.         <reserved1> 0 </reserved1>
  1669.         <enabled> <true /> </enabled>
  1670.         <rect>
  1671.             <left>13</left>
  1672.             <top>35</top>
  1673.             <right>94</right>
  1674.             <bottom>49</bottom>
  1675.         </rect>
  1676.         <style>transparent</style>
  1677.         <showName> <false /> </showName>
  1678.         <highlight> <false /> </highlight>
  1679.         <autoHighlight> <false /> </autoHighlight>
  1680.         <sharedHighlight> <true /> </sharedHighlight>
  1681.         <family>0</family>
  1682.         <titleWidth>0</titleWidth>
  1683.         <icon>0</icon>
  1684.         <textAlign>center</textAlign>
  1685.         <font>Chicago</font>
  1686.         <textSize>12</textSize>
  1687.         <textStyle>plain</textStyle>
  1688.         <name></name>
  1689.         <script>on mouseUpend mouseUp</script>
  1690.     </part>
  1691.     <part>
  1692.         <id>30</id>
  1693.         <type>button</type>
  1694.         <visible> <true /> </visible>
  1695.         <reserved5> 0 </reserved5>
  1696.         <reserved4> 0 </reserved4>
  1697.         <reserved3> 0 </reserved3>
  1698.         <reserved2> 0 </reserved2>
  1699.         <reserved1> 0 </reserved1>
  1700.         <enabled> <true /> </enabled>
  1701.         <rect>
  1702.             <left>12</left>
  1703.             <top>48</top>
  1704.             <right>30</right>
  1705.             <bottom>67</bottom>
  1706.         </rect>
  1707.         <style>transparent</style>
  1708.         <showName> <false /> </showName>
  1709.         <highlight> <false /> </highlight>
  1710.         <autoHighlight> <false /> </autoHighlight>
  1711.         <sharedHighlight> <true /> </sharedHighlight>
  1712.         <family>0</family>
  1713.         <titleWidth>0</titleWidth>
  1714.         <icon>0</icon>
  1715.         <textAlign>center</textAlign>
  1716.         <font>Chicago</font>
  1717.         <textSize>12</textSize>
  1718.         <textStyle>plain</textStyle>
  1719.         <name></name>
  1720.         <script>on mouseUpend mouseUp</script>
  1721.     </part>
  1722.     <content>
  1723.         <layer>card</layer>
  1724.         <id>1</id>
  1725.         <text>checkDebugger()compareLines()fileDataSize()findHandlers()findTypes()hitRegion()PICTtoRsrcputWithStylesameCardPicts()selectedPrinter()sysDebuggerBreak</text>
  1726.     </content>
  1727.     <content>
  1728.         <layer>card</layer>
  1729.         <id>15</id>
  1730.         <text>checkDebugger()</text>
  1731.     </content>
  1732.     <content>
  1733.         <layer>card</layer>
  1734.         <id>18</id>
  1735.         <text>Checks for the presence of a system debugger such as MacsBug.Compares two blocks of text line-by-line, noting differences.Returns the size of a file's data fork.Finds the handlers in a script, and notes their character offsets.Searches a directory and all its subdirectories for files of specified types.Allows hit-testing of irregularly-shaped graphics.Reads in a PICT file, making it into a resource.Puts the text from one field into another, retaining style information.Examines the card graphics of two cards to determine if they are identical.Returns the type (and possibly the name) of the currently selected printer.Causes a break to the system debugger (such as MacsBug) with a message or command.</text>
  1736.     </content>
  1737.     <content>
  1738.         <layer>card</layer>
  1739.         <id>16</id>
  1740.         <text>Checks for the presence of a system debugger such as MacsBug.</text>
  1741.     </content>
  1742.     <content>
  1743.         <layer>card</layer>
  1744.         <id>24</id>
  1745.         <text>Click on the name of an XThing to see a brief description.  Click on a hilited name to go to more elaborate documentation of that XThing.</text>
  1746.     </content>
  1747.     <content>
  1748.         <layer>background</layer>
  1749.         <id>1</id>
  1750.         <text>Index</text>
  1751.     </content>
  1752.     <content>
  1753.         <layer>background</layer>
  1754.         <id>2</id>
  1755.         <text><span class="style1">1992 BungDabba Productions.  All rights reserved.</span><span class="style17"></span></text>
  1756.     </content>
  1757.     <name>Control</name>
  1758.     <script>on selectButton BtnNameset the hilite of cd btn BtnName to trueif BtnName = selectedButton() thenvisual zoom outgo cd BtnNameexit selectButtonend ifput BtnName into cd fld "Selected Button"put line (the number of the target) of cd fld "XThing Notes" ┬¼into cd fld "Description"end selectButtonfunction selectedButtonreturn cd fld "Selected Button"end selectedButton</script>
  1759. </card>
  1760.  
  1761.  
  1762. card_2865.xml
  1763. <?xml version="1.0" encoding="utf-8" ?>
  1764. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  1765. <card>
  1766.     <id>2865</id>
  1767.     <filler1>0</filler1>
  1768.     <bitmap>BMAP_4595.pbm</bitmap>
  1769.     <cantDelete> <false /> </cantDelete>
  1770.     <showPict> <true /> </showPict>
  1771.     <dontSearch> <false /> </dontSearch>
  1772.     <owner>2809</owner>
  1773.     <link rel="stylesheet" type="text/css" href="stylesheet_3308.css" />
  1774.     <part>
  1775.         <id>3</id>
  1776.         <type>button</type>
  1777.         <visible> <true /> </visible>
  1778.         <reserved5> 0 </reserved5>
  1779.         <reserved4> 0 </reserved4>
  1780.         <reserved3> 0 </reserved3>
  1781.         <reserved2> 0 </reserved2>
  1782.         <reserved1> 0 </reserved1>
  1783.         <enabled> <true /> </enabled>
  1784.         <rect>
  1785.             <left>20</left>
  1786.             <top>42</top>
  1787.             <right>164</right>
  1788.             <bottom>170</bottom>
  1789.         </rect>
  1790.         <style>transparent</style>
  1791.         <showName> <false /> </showName>
  1792.         <highlight> <false /> </highlight>
  1793.         <autoHighlight> <false /> </autoHighlight>
  1794.         <sharedHighlight> <true /> </sharedHighlight>
  1795.         <family>0</family>
  1796.         <titleWidth>0</titleWidth>
  1797.         <icon>0</icon>
  1798.         <textAlign>center</textAlign>
  1799.         <font>Chicago</font>
  1800.         <textSize>12</textSize>
  1801.         <textStyle>plain</textStyle>
  1802.         <name></name>
  1803.         <script></script>
  1804.     </part>
  1805.     <part>
  1806.         <id>4</id>
  1807.         <type>button</type>
  1808.         <visible> <true /> </visible>
  1809.         <reserved5> 0 </reserved5>
  1810.         <reserved4> 0 </reserved4>
  1811.         <reserved3> 0 </reserved3>
  1812.         <reserved2> 0 </reserved2>
  1813.         <reserved1> 0 </reserved1>
  1814.         <enabled> <true /> </enabled>
  1815.         <rect>
  1816.             <left>184</left>
  1817.             <top>42</top>
  1818.             <right>328</right>
  1819.             <bottom>170</bottom>
  1820.         </rect>
  1821.         <style>transparent</style>
  1822.         <showName> <false /> </showName>
  1823.         <highlight> <false /> </highlight>
  1824.         <autoHighlight> <false /> </autoHighlight>
  1825.         <sharedHighlight> <true /> </sharedHighlight>
  1826.         <family>0</family>
  1827.         <titleWidth>0</titleWidth>
  1828.         <icon>0</icon>
  1829.         <textAlign>center</textAlign>
  1830.         <font>Chicago</font>
  1831.         <textSize>12</textSize>
  1832.         <textStyle>plain</textStyle>
  1833.         <name></name>
  1834.         <script></script>
  1835.     </part>
  1836.     <part>
  1837.         <id>5</id>
  1838.         <type>button</type>
  1839.         <visible> <true /> </visible>
  1840.         <reserved5> 0 </reserved5>
  1841.         <reserved4> 0 </reserved4>
  1842.         <reserved3> 0 </reserved3>
  1843.         <reserved2> 0 </reserved2>
  1844.         <reserved1> 0 </reserved1>
  1845.         <enabled> <true /> </enabled>
  1846.         <rect>
  1847.             <left>348</left>
  1848.             <top>42</top>
  1849.             <right>492</right>
  1850.             <bottom>170</bottom>
  1851.         </rect>
  1852.         <style>transparent</style>
  1853.         <showName> <false /> </showName>
  1854.         <highlight> <false /> </highlight>
  1855.         <autoHighlight> <false /> </autoHighlight>
  1856.         <sharedHighlight> <true /> </sharedHighlight>
  1857.         <family>0</family>
  1858.         <titleWidth>0</titleWidth>
  1859.         <icon>0</icon>
  1860.         <textAlign>center</textAlign>
  1861.         <font>Chicago</font>
  1862.         <textSize>12</textSize>
  1863.         <textStyle>plain</textStyle>
  1864.         <name></name>
  1865.         <script></script>
  1866.     </part>
  1867.     <part>
  1868.         <id>7</id>
  1869.         <type>button</type>
  1870.         <visible> <true /> </visible>
  1871.         <reserved5> 0 </reserved5>
  1872.         <reserved4> 0 </reserved4>
  1873.         <reserved3> 0 </reserved3>
  1874.         <reserved2> 0 </reserved2>
  1875.         <reserved1> 0 </reserved1>
  1876.         <enabled> <true /> </enabled>
  1877.         <rect>
  1878.             <left>20</left>
  1879.             <top>192</top>
  1880.             <right>164</right>
  1881.             <bottom>320</bottom>
  1882.         </rect>
  1883.         <style>transparent</style>
  1884.         <showName> <false /> </showName>
  1885.         <highlight> <false /> </highlight>
  1886.         <autoHighlight> <false /> </autoHighlight>
  1887.         <sharedHighlight> <true /> </sharedHighlight>
  1888.         <family>0</family>
  1889.         <titleWidth>0</titleWidth>
  1890.         <icon>0</icon>
  1891.         <textAlign>center</textAlign>
  1892.         <font>Chicago</font>
  1893.         <textSize>12</textSize>
  1894.         <textStyle>plain</textStyle>
  1895.         <name></name>
  1896.         <script></script>
  1897.     </part>
  1898.     <part>
  1899.         <id>9</id>
  1900.         <type>button</type>
  1901.         <visible> <true /> </visible>
  1902.         <reserved5> 0 </reserved5>
  1903.         <reserved4> 0 </reserved4>
  1904.         <reserved3> 0 </reserved3>
  1905.         <reserved2> 0 </reserved2>
  1906.         <reserved1> 0 </reserved1>
  1907.         <enabled> <true /> </enabled>
  1908.         <rect>
  1909.             <left>184</left>
  1910.             <top>192</top>
  1911.             <right>328</right>
  1912.             <bottom>320</bottom>
  1913.         </rect>
  1914.         <style>transparent</style>
  1915.         <showName> <false /> </showName>
  1916.         <highlight> <false /> </highlight>
  1917.         <autoHighlight> <false /> </autoHighlight>
  1918.         <sharedHighlight> <true /> </sharedHighlight>
  1919.         <family>0</family>
  1920.         <titleWidth>0</titleWidth>
  1921.         <icon>0</icon>
  1922.         <textAlign>center</textAlign>
  1923.         <font>Chicago</font>
  1924.         <textSize>12</textSize>
  1925.         <textStyle>plain</textStyle>
  1926.         <name></name>
  1927.         <script></script>
  1928.     </part>
  1929.     <part>
  1930.         <id>10</id>
  1931.         <type>button</type>
  1932.         <visible> <true /> </visible>
  1933.         <reserved5> 0 </reserved5>
  1934.         <reserved4> 0 </reserved4>
  1935.         <reserved3> 0 </reserved3>
  1936.         <reserved2> 0 </reserved2>
  1937.         <reserved1> 0 </reserved1>
  1938.         <enabled> <true /> </enabled>
  1939.         <rect>
  1940.             <left>348</left>
  1941.             <top>192</top>
  1942.             <right>492</right>
  1943.             <bottom>320</bottom>
  1944.         </rect>
  1945.         <style>transparent</style>
  1946.         <showName> <false /> </showName>
  1947.         <highlight> <false /> </highlight>
  1948.         <autoHighlight> <false /> </autoHighlight>
  1949.         <sharedHighlight> <true /> </sharedHighlight>
  1950.         <family>0</family>
  1951.         <titleWidth>0</titleWidth>
  1952.         <icon>0</icon>
  1953.         <textAlign>center</textAlign>
  1954.         <font>Chicago</font>
  1955.         <textSize>12</textSize>
  1956.         <textStyle>plain</textStyle>
  1957.         <name></name>
  1958.         <script></script>
  1959.     </part>
  1960.     <part>
  1961.         <id>11</id>
  1962.         <type>button</type>
  1963.         <visible> <true /> </visible>
  1964.         <reserved5> 0 </reserved5>
  1965.         <reserved4> 0 </reserved4>
  1966.         <reserved3> 0 </reserved3>
  1967.         <reserved2> 0 </reserved2>
  1968.         <reserved1> 0 </reserved1>
  1969.         <enabled> <true /> </enabled>
  1970.         <rect>
  1971.             <left>169</left>
  1972.             <top>69</top>
  1973.             <right>342</right>
  1974.             <bottom>141</bottom>
  1975.         </rect>
  1976.         <style>transparent</style>
  1977.         <showName> <false /> </showName>
  1978.         <highlight> <false /> </highlight>
  1979.         <autoHighlight> <false /> </autoHighlight>
  1980.         <sharedHighlight> <true /> </sharedHighlight>
  1981.         <family>0</family>
  1982.         <titleWidth>0</titleWidth>
  1983.         <icon>0</icon>
  1984.         <textAlign>center</textAlign>
  1985.         <font>Chicago</font>
  1986.         <textSize>12</textSize>
  1987.         <textStyle>plain</textStyle>
  1988.         <name></name>
  1989.         <script></script>
  1990.     </part>
  1991.     <part>
  1992.         <id>15</id>
  1993.         <type>button</type>
  1994.         <visible> <true /> </visible>
  1995.         <reserved5> 0 </reserved5>
  1996.         <reserved4> 0 </reserved4>
  1997.         <reserved3> 0 </reserved3>
  1998.         <reserved2> 0 </reserved2>
  1999.         <reserved1> 0 </reserved1>
  2000.         <enabled> <true /> </enabled>
  2001.         <rect>
  2002.             <left>12</left>
  2003.             <top>217</top>
  2004.             <right>172</right>
  2005.             <bottom>292</bottom>
  2006.         </rect>
  2007.         <style>transparent</style>
  2008.         <showName> <false /> </showName>
  2009.         <highlight> <false /> </highlight>
  2010.         <autoHighlight> <false /> </autoHighlight>
  2011.         <sharedHighlight> <true /> </sharedHighlight>
  2012.         <family>0</family>
  2013.         <titleWidth>0</titleWidth>
  2014.         <icon>0</icon>
  2015.         <textAlign>center</textAlign>
  2016.         <font>Chicago</font>
  2017.         <textSize>12</textSize>
  2018.         <textStyle>plain</textStyle>
  2019.         <name>New Button</name>
  2020.         <script></script>
  2021.     </part>
  2022.     <part>
  2023.         <id>16</id>
  2024.         <type>button</type>
  2025.         <visible> <true /> </visible>
  2026.         <reserved5> 0 </reserved5>
  2027.         <reserved4> 0 </reserved4>
  2028.         <reserved3> 0 </reserved3>
  2029.         <reserved2> 0 </reserved2>
  2030.         <reserved1> 0 </reserved1>
  2031.         <enabled> <true /> </enabled>
  2032.         <rect>
  2033.             <left>340</left>
  2034.             <top>217</top>
  2035.             <right>500</right>
  2036.             <bottom>292</bottom>
  2037.         </rect>
  2038.         <style>transparent</style>
  2039.         <showName> <false /> </showName>
  2040.         <highlight> <false /> </highlight>
  2041.         <autoHighlight> <false /> </autoHighlight>
  2042.         <sharedHighlight> <true /> </sharedHighlight>
  2043.         <family>0</family>
  2044.         <titleWidth>0</titleWidth>
  2045.         <icon>0</icon>
  2046.         <textAlign>center</textAlign>
  2047.         <font>Chicago</font>
  2048.         <textSize>12</textSize>
  2049.         <textStyle>plain</textStyle>
  2050.         <name>New Button</name>
  2051.         <script></script>
  2052.     </part>
  2053.     <part>
  2054.         <id>20</id>
  2055.         <type>button</type>
  2056.         <visible> <true /> </visible>
  2057.         <reserved5> 0 </reserved5>
  2058.         <reserved4> 0 </reserved4>
  2059.         <reserved3> 0 </reserved3>
  2060.         <reserved2> 0 </reserved2>
  2061.         <reserved1> 0 </reserved1>
  2062.         <enabled> <true /> </enabled>
  2063.         <rect>
  2064.             <left>65535</left>
  2065.             <top>0</top>
  2066.             <right>512</right>
  2067.             <bottom>342</bottom>
  2068.         </rect>
  2069.         <style>opaque</style>
  2070.         <showName> <false /> </showName>
  2071.         <highlight> <false /> </highlight>
  2072.         <autoHighlight> <false /> </autoHighlight>
  2073.         <sharedHighlight> <true /> </sharedHighlight>
  2074.         <family>0</family>
  2075.         <titleWidth>0</titleWidth>
  2076.         <icon>0</icon>
  2077.         <textAlign>center</textAlign>
  2078.         <font>Chicago</font>
  2079.         <textSize>12</textSize>
  2080.         <textStyle>plain</textStyle>
  2081.         <name></name>
  2082.         <script></script>
  2083.     </part>
  2084.     <part>
  2085.         <id>21</id>
  2086.         <type>field</type>
  2087.         <visible> <false /> </visible>
  2088.         <dontWrap> <false /> </dontWrap>
  2089.         <dontSearch> <false /> </dontSearch>
  2090.         <sharedText> <false /> </sharedText>
  2091.         <fixedLineHeight> <false /> </fixedLineHeight>
  2092.         <autoTab> <false /> </autoTab>
  2093.         <lockText> <true /> </lockText>
  2094.         <rect>
  2095.             <left>154</left>
  2096.             <top>327</top>
  2097.             <right>358</right>
  2098.             <bottom>342</bottom>
  2099.         </rect>
  2100.         <style>transparent</style>
  2101.         <autoSelect> <false /> </autoSelect>
  2102.         <showLines> <false /> </showLines>
  2103.         <wideMargins> <false /> </wideMargins>
  2104.         <multipleLines> <false /> </multipleLines>
  2105.         <reservedFamily> 0 </reservedFamily>
  2106.         <titleWidth>0</titleWidth>
  2107.         <icon>0</icon>
  2108.         <textAlign>center</textAlign>
  2109.         <font>Geneva</font>
  2110.         <textSize>10</textSize>
  2111.         <textStyle>plain</textStyle>
  2112.         <textHeight>13</textHeight>
  2113.         <name></name>
  2114.         <script></script>
  2115.     </part>
  2116.     <content>
  2117.         <layer>card</layer>
  2118.         <id>21</id>
  2119.         <text>click to continue...</text>
  2120.     </content>
  2121.     <name>Splash</name>
  2122.     <script>on openStackanimatepass openStackend openStackon animateset cursor to nonelock screencolorizeHC "add","Don & The Windmill",the rect of cd btn 2unlock screenlock screencolorizeHC "add","Don & The Windmill",the rect of cd btn 4unlock screenlock screencolorizeHC "add","Don & The Windmill",the rect of cd btn 6unlock screenlock screencolorizeHC "add","Don & The Windmill",the rect of cd btn 1unlock screenlock screencolorizeHC "add","Don & The Windmill",the rect of cd btn 3unlock screenlock screencolorizeHC "add","Don & The Windmill",the rect of cd btn 5unlock screenlock screencolorizeHC "erase",the rect of cd btn 2colorizeHC "add","BungDabba Logo", the rect of cd btn 7unlock screenlock screencolorizeHC "erase", the rect of cd btn 4colorizeHC "add","SSL",the rect of cd btn 8unlock screenlock screencolorizeHC "erase", the rect of cd btn 6colorizeHC "add","BDX",the rect of cd btn 9unlock screenset cursor to normalshow cd fld 1end animateon closeCardlock screencolorizeHC "dispose"hide cd fld 1unlock screenend closeCardon suspendStacklock screencolorizeHC "dispose"unlock screenpass suspendStackend suspendStackon mouseUpgo nextend mouseUp</script>
  2123. </card>
  2124.  
  2125.  
  2126.